Skip to content

Results are limited to Maximum Independent Set v0.2.3

Product news
You are reading Maximum Independent Set v0.2.3, an older version of this documentation. Go to the latest version (v0.3.2)

mis.pipeline.pulse

module
mis.pipeline.pulse

Classes

dataclass
BasePulseShaper (duration_us: int | None = None)

Bases : ABC

Abstract base class for generating pulse schedules based on a MIS problem.

This class transforms the structure of a MISInstance into a quantum pulse sequence that can be applied to a physical register. The register is passed at the time of pulse generation, not during initialization.

Attributes

  • duration_us : int | None — The duration of the pulse, in microseconds.

Methods

  • generate — Generate a pulse based on the problem and the provided register.

method
generate (config: SolverConfig, register: Register, backend: BaseBackend, instance: MISInstance) → Pulse

Generate a pulse based on the problem and the provided register.

Parameters

  • config : SolverConfig — The configuration for this pulse.

  • register : Register — The physical register layout.

Returns

  • Pulse — A generated pulse object wrapping a Pulser pulse.

dataclass
DefaultPulseShaper (duration_us: int | None = None)

Bases : BasePulseShaper

A simple pulse shaper.

Attributes

  • duration_us : int | None — The duration of the pulse, in microseconds.

Methods

  • generate — Return a simple constant waveform pulse

method
generate (config: SolverConfig, register: Register, backend: BaseBackend, instance: MISInstance) → Pulse

Return a simple constant waveform pulse