Skip to content

mis.pipeline.targets

source module mis.pipeline.targets

Code emitted by compilation.

In practice, this code is a very thin layer around Pulser's representation.

Classes

  • Pulse Specification of a laser pulse to be executed on a quantum device

  • Register Specification of a geometry of atoms to be executed on a quantum device

source dataclass Pulse(pulse: pulser.Pulse, detuning_maps: list[tuple[pulser.register.weight_maps.DetuningMap, pulser.waveforms.Waveform]] | None = None)

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, graph: nx.Graph)

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.

  • graph : nx.Graph The graph laid out as register. Note that this is not necessarily the same graph as in MISInstance, as it may have been transformed by some intermediate steps.

Methods

  • draw Draw the geometry of this register.

source method Register.draw()None

Draw the geometry of this register.