Skip to content
Pasqal Documentation

Results are limited to the current section : Qoolqit

qoolqit.drive

module
qoolqit.drive

Classes

dataclass
WeightedDetuning (weights: dict[Any, float], waveform: Waveform)

A weighted detuning.

See https://pasqal-io.github.io/qoolqit/latest/theory/rydberg_model/#weighted-detuning (external) for details on weighted detunings.

Note: detuning with positive waveforms cannot be instantiated.

Attributes

  • weights : dict[Any, float] Association of weights to qubits.

  • waveform : Waveform The waveform for this detuning.

class
Drive (*args: Any, amplitude: Waveform | None = None, detuning: Waveform | None = None, weighted_detunings: list[WeightedDetuning] | 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.

  • weighted_detunings : list[WeightedDetuning] | None additional waveforms and weights applied to individual qubits. Note that these detunings are not supported on all devices.

Attributes

  • amplitude : Waveform The amplitude waveform in the drive.

  • detuning : Waveform The detuning waveform in the drive.

  • weighted_detunings : Sequence[WeightedDetuning] Detunings applied to individual qubits.

  • 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
weighted_detunings : Sequence[WeightedDetuning]

Detunings applied to individual qubits.

property
phase : float

The phase value in the drive.

property
duration : float

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