bloqade.gemini.device.physical_simulator.PhysicalSimulatorTask
← Module overview
class
property
property
classPhysicalSimulatorTask¶source
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
| Name | Type | Default | Description |
|---|---|---|---|
source_squin_kernel | ir.Method[[], RetType] | required | |
noise_model | NoiseModelABC | required | |
physical_arch_spec | ArchSpec | required | |
physical_move_kernel | ir.Method[[], RetType] | required | |
_post_processing | atom.PostProcessing[RetType] | required | |
_simulator_backend | AbstractSimulatorBackend | TsimSimulatorBackend() |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
source_squin_kernel | ir.Method[[], RetType] | required | The input physical SQuIn kernel. |
noise_model | NoiseModelABC | required | The physical noise model to insert into the SQuIn kernel. |
physical_arch_spec | ArchSpec | field(repr=False) | The physical architecture specification. |
physical_move_kernel | ir.Method[[], RetType] | field(repr=False) | The physical move kernel compiled from the source SQuIn kernel. |
propertyphysical_squin_kernel¶source
bloqade.gemini.device.physical_simulator.PhysicalSimulatorTask.physical_squin_kernel
propertynoiseless_physical_squin_kernel¶source
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