bloqade.visual.animation.runtime.qpustate.QPUStateABC
← Module overview
class
method
method
sourcemethod
sourcemethod
sourcemethod
method
source
classQPUStateABC¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC
Bases: ABC
Signature
class QPUStateABC(block_durations: List[float] = list(), gate_events: List[Tuple[float, GateEvent]] = list(), qpu_fov: FieldOfView = FieldOfView())Parameters
| Name | Type | Default | Description |
|---|---|---|---|
block_durations | List[float] | list() | |
gate_events | List[Tuple[float, GateEvent]] | list() | |
qpu_fov | FieldOfView | FieldOfView() |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
block_durations | List[float] | dataclasses.field(default_factory=list) | |
gate_events | List[Tuple[float, GateEvent]] | dataclasses.field(default_factory=list) | |
qpu_fov | FieldOfView | dataclasses.field(default_factory=FieldOfView) |
methodget_slm_sites¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC.get_slm_sites
methodsample_aod_traps¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC.sample_aod_traps
def sample_aod_traps(time: float) -> List[Tuple[float, float]]Parameters
| Name | Type | Description |
|---|---|---|
time | float |
Returns
List[Tuple[float, float]]
methodget_atoms_lost_info¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC.get_atoms_lost_info
def get_atoms_lost_info(time: float) -> List[str]Parameters
| Name | Type | Description |
|---|---|---|
time | float |
Returns
List[str]
methodget_atoms_position¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC.get_atoms_position
Signature
def get_atoms_position(time: float, include_lost: bool = False) -> List[Tuple[int, Tuple[float, float]]]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
time | float | required | |
include_lost | bool | False |
Returns
List[Tuple[int, Tuple[float, float]]]
methodget_gate_events_timing¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC.get_gate_events_timing
methodget_gate_events¶source
bloqade.visual.animation.runtime.qpustate.QPUStateABC.get_gate_events
def get_gate_events(time: float) -> List[Tuple[float, GateEvent]]Parameters
| Name | Type | Description |
|---|---|---|
time | float |
Returns
List[Tuple[float, GateEvent]]