Skip to content
Pasqal Documentation

qoolqit.drive

module
qoolqit.drive

Classes

  • Drive The drive Hamiltonian acting over a duration.

class
Drive (*args: Any, amplitude: Waveform | None = None, detuning: Waveform | None = None, phase: float = 0.0)

The drive Hamiltonian acting over a duration.

Default constructor for the Drive.

Must be instantiated with keyword arguments. Accepts either an amplitude waveform, a detuning waveform, or both. A phase value can also be passed.

Parameters

  • amplitude : Waveform | None waveform representing Ω(t) in the drive Hamiltonian.

  • detuning : Waveform | None waveform representing δ(t) in the drive Hamiltonian.

  • phase : float phase value ɸ for the amplitude term.

Attributes

  • amplitude : Waveform The amplitude waveform in the drive.

  • detuning : Waveform The detuning waveform in the drive.

  • phase : float The phase value in the drive.

Methods

property
amplitude : Waveform

The amplitude waveform in the drive.

property
detuning : Waveform

The detuning waveform in the drive.

property
phase : float

The phase value in the drive.

property
duration : float

method
draw (n_points: int = 500, return_fig: bool = False) → plt.Figure | None