Skip to content

bloqade.gemini.device.physical_simulator.PhysicalSimulatorTask

← Module overview

classPhysicalSimulatorTasksource

bloqade.gemini.device.physical_simulator.PhysicalSimulatorTask

Bases: _SimulatorTaskBase[RetType], Generic[RetType]

A compiled simulation task for physical SQuIn programs.

Signature
class PhysicalSimulatorTask(source_squin_kernel: ir.Method[[], RetType], noise_model: NoiseModelABC, physical_arch_spec: ArchSpec, physical_move_kernel: ir.Method[[], RetType], _post_processing: atom.PostProcessing[RetType], _simulator_backend: AbstractSimulatorBackend = TsimSimulatorBackend())

Parameters

NameTypeDefaultDescription
source_squin_kernelir.Method[[], RetType]required
noise_modelNoiseModelABCrequired
physical_arch_specArchSpecrequired
physical_move_kernelir.Method[[], RetType]required
_post_processingatom.PostProcessing[RetType]required
_simulator_backendAbstractSimulatorBackendTsimSimulatorBackend()

Attributes

NameTypeDefaultDescription
source_squin_kernelir.Method[[], RetType]requiredThe input physical SQuIn kernel.
noise_modelNoiseModelABCrequiredThe physical noise model to insert into the SQuIn kernel.
physical_arch_specArchSpecfield(repr=False)The physical architecture specification.
physical_move_kernelir.Method[[], RetType]field(repr=False)The physical move kernel compiled from the source SQuIn kernel.

propertyphysical_squin_kernelsource

bloqade.gemini.device.physical_simulator.PhysicalSimulatorTask.physical_squin_kernel

physical_squin_kernel: ir.Method[[], RetType]

The physical SQuIn kernel with noise channels.

source

propertynoiseless_physical_squin_kernelsource

bloqade.gemini.device.physical_simulator.PhysicalSimulatorTask.noiseless_physical_squin_kernel

noiseless_physical_squin_kernel: ir.Method[[], RetType]

The physical SQuIn kernel without noise channels.

source