pub enum ExecutionEvent {
Show 17 variants
SourceReleased {
task: TaskId,
role: String,
time: f64,
},
InputArrival {
task: TaskId,
port: [i32; 3],
state: LogicalInputState,
time: f64,
},
MomentIssued {
task: TaskId,
attempt: Option<u64>,
moment: u32,
start: f64,
end: f64,
},
MomentCompleted {
task: TaskId,
attempt: Option<u64>,
moment: u32,
time: f64,
},
EarlyRestart {
task: TaskId,
attempt: u32,
reason: String,
time: f64,
},
DecoderDeadline {
task: TaskId,
observable: TaskId,
factory: bool,
measurements_ready_at: Option<f64>,
requested_at: f64,
ready_at: f64,
},
JoinReleased {
task: TaskId,
time: f64,
},
QuantumAlternative {
task: TaskId,
alternative: u32,
operations: Vec<String>,
time: f64,
},
ConditionalCorrection {
task: TaskId,
record: RecordId,
pauli: String,
applied: bool,
time: f64,
},
RusAttemptStarted {
task: TaskId,
attempt: u32,
epoch: u64,
time: f64,
},
RetryPrepare {
task: TaskId,
attempt: u32,
start: f64,
end: f64,
},
RusAttemptRejected {
task: TaskId,
attempt: u32,
epoch: u64,
time: f64,
},
RusAttemptAccepted {
task: TaskId,
attempt: u32,
epoch: u64,
time: f64,
},
FactoryReady {
resource: ResourceId,
time: f64,
},
MemoryRound {
task: TaskId,
round: u32,
memory_kind: MemoryKind,
wait_reason: Option<WaitReason>,
start: f64,
end: f64,
},
Idle {
task: TaskId,
wait_reason: Option<WaitReason>,
start: f64,
end: f64,
},
Discarded {
task: TaskId,
reason: StopReason,
time: f64,
},
}Expand description
Time-stamped dynamic events.
Variants§
SourceReleased
An independently released source became eligible to execute.
InputArrival
An external encoded input arrived.
Fields
state: LogicalInputStateInjected logical state.
MomentIssued
A physical moment was issued onto free qubits.
Fields
MomentCompleted
A physical moment completed and mutated the simulator.
Fields
EarlyRestart
A newly available selected restart parity aborted cultivation early.
Fields
DecoderDeadline
A causal decoder deadline was established.
Fields
JoinReleased
Every incoming seam reached a join.
Fields
QuantumAlternative
One guarded quantum alternative was selected.
Fields
ConditionalCorrection
A record-controlled Pauli was considered.
Fields
RusAttemptStarted
A source-isolated RUS attempt began.
Fields
RetryPrepare
Explicit timed preparation before a retried attempt.
Fields
RusAttemptRejected
A RUS attempt rejected without committing aliases.
Fields
RusAttemptAccepted
A RUS attempt accepted and committed.
Fields
FactoryReady
An accepted factory output became available.
MemoryRound
One complete syndrome-memory round ran.
Fields
memory_kind: MemoryKindStatic or dynamic origin.
wait_reason: Option<WaitReason>Dynamic hold cause sampled when the round was issued.
Authored static padding and factory GAP use memory_kind instead.
Idle
A patch performed an authored idle or a residual dynamic wait.
Fields
wait_reason: Option<WaitReason>Dynamic hold cause sampled when the idle was issued. Authored idle instructions have no wait reason.
Discarded
The shot stopped and no result committed.
Trait Implementations§
Source§impl Clone for ExecutionEvent
impl Clone for ExecutionEvent
Source§fn clone(&self) -> ExecutionEvent
fn clone(&self) -> ExecutionEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more