qek.target.targets
source module qek.target.targets
Code emitted by compilation.
In practice, this code is a very thin layer around Pulser's representation.
Classes
source dataclass Pulse(pulse: pulser.Pulse)
Specification of a laser pulse to be executed on a quantum device
Attributes
-
pulse : pulser.Pulse — The low-level Pulser pulse.
Methods
-
draw — Draw the shape of this laser pulse.
source method Pulse.draw() → None
Draw the shape of this laser pulse.
source dataclass Register(device: pulser.devices.Device, register: pulser.Register)
Specification of a geometry of atoms to be executed on a quantum device
Attributes
-
device : pulser.devices.Device — The quantum device targeted.
-
register : pulser.Register — The low-level Pulser register.
Methods
-
draw — Draw the geometry of this register.
source method Register.draw() → None
Draw the geometry of this register.