pub struct ExecutionArtifact {Show 13 fields
pub metadata: RunMetadata,
pub measurements: Vec<MeasurementRecord>,
pub detectors: Vec<DetectorResult>,
pub observables: Vec<ObservableResult>,
pub timing: Vec<TaskTiming>,
pub retries: Vec<RetryRecord>,
pub decoder_decisions: Vec<DecoderDecisionRecord>,
pub events: Vec<ExecutionEvent>,
pub discarded: bool,
pub stop_reason: Option<StopReason>,
pub finished_at: f64,
pub peak_rank: usize,
pub final_bits: Vec<Option<bool>>,
}Expand description
Inspectable output of one dynamic run.
Fields§
§metadata: RunMetadataReproduction settings and dense-task source map.
measurements: Vec<MeasurementRecord>Every raw measurement, including rejected attempts.
detectors: Vec<DetectorResult>Signed detector outcomes.
observables: Vec<ObservableResult>Named raw and physical observable outcomes.
timing: Vec<TaskTiming>Actual task intervals.
retries: Vec<RetryRecord>RUS attempt history.
decoder_decisions: Vec<DecoderDecisionRecord>Mock decoder outcomes.
events: Vec<ExecutionEvent>Dynamic waits, corrections, selections, and state transitions.
discarded: boolWhether this shot terminated without a committed result.
stop_reason: Option<StopReason>Terminal reason for a discarded shot.
finished_at: f64Physical stop time.
peak_rank: usizeHighest stabilizer-frame rank reached by the selected engine.
final_bits: Vec<Option<bool>>Final dense classical registers; all unavailable on a discarded shot.
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionArtifact
impl Clone for ExecutionArtifact
Source§fn clone(&self) -> ExecutionArtifact
fn clone(&self) -> ExecutionArtifact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionArtifact
impl Debug for ExecutionArtifact
Source§impl Default for ExecutionArtifact
impl Default for ExecutionArtifact
Source§fn default() -> ExecutionArtifact
fn default() -> ExecutionArtifact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecutionArtifact
impl<'de> Deserialize<'de> for ExecutionArtifact
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecutionArtifact
impl PartialEq for ExecutionArtifact
Source§impl Serialize for ExecutionArtifact
impl Serialize for ExecutionArtifact
impl StructuralPartialEq for ExecutionArtifact
Auto Trait Implementations§
impl Freeze for ExecutionArtifact
impl RefUnwindSafe for ExecutionArtifact
impl Send for ExecutionArtifact
impl Sync for ExecutionArtifact
impl Unpin for ExecutionArtifact
impl UnsafeUnpin for ExecutionArtifact
impl UnwindSafe for ExecutionArtifact
Blanket Implementations§
§impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
fn assign_index(&mut self, index: usize, to: bool)
fn negate_index(&mut self, index: usize)
fn clear_bits(&mut self)
fn assign_random(
&mut self,
bit_count: usize,
random_number_generator: &mut impl RngExt,
)where
BorrowedSelf: BitLength,
§impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
fn assign(&mut self, other: &Other)
fn bitxor_assign(&mut self, other: &Other)
fn bitand_assign(&mut self, other: &Other)
fn bitor_assign(&mut self, other: &Other)
§impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
§impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
fn index(&self, index: usize) -> bool
fn weight(&self) -> usize
fn parity(&self) -> bool
fn is_zero(&self) -> bool
fn is_unit(&self, index: usize) -> bool
fn support<'a>(&'a self) -> impl SortedIteratorwhere
BorrowedSelf: 'a,
fn max_support(&self) -> Option<usize>
fn min_support(&self) -> Option<usize>
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more