Skip to content
Pasqal Documentation

Results are limited to the current section : Qoolqit

qoolqit.program

module
qoolqit.program

Classes

  • QuantumProgram A program representing a Sequence acting on a Register of qubits.

class
QuantumProgram (register: Register, drive: Drive)

A program representing a Sequence acting on a Register of qubits.

Parameters

  • register : Register the register of qubits, defining their positions.

  • drive : Drive the drive acting on qubits, defining amplitude, detuning and phase.

Attributes

  • register : Register The register of qubits.

  • drive : Drive The driving waveforms.

  • is_compiled : bool Check if the program has been compiled.

  • compiled_sequence : PulserSequence The Pulser sequence compiled to a specific device.

Methods

property
register : Register

The register of qubits.

property
drive : Drive

The driving waveforms.

property
is_compiled : bool

Check if the program has been compiled.

property
compiled_sequence : PulserSequence

The Pulser sequence compiled to a specific device.

method
compile_to (device: Device, profile: CompilerProfile = CompilerProfile.DEFAULT) → None

Compiles the given program to a device.

Parameters

  • device : Device the Device to compile to.

  • profile : CompilerProfile the compiler profile to use during compilation.

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

Raises

  • ValueError