Enum qip::builder::MeasurementResults
source · pub enum MeasurementResults<P: Precision> {
Single(usize, P),
Stochastic(Vec<P>),
}
Expand description
Represents the result of a measurement on the circuit.
Variants§
Single(usize, P)
The result of a single measurement on selected qubits, returns the measurement as well as the likelyhood of that measurement taking place.
Stochastic(Vec<P>)
The probability of each measurement indexed by the measurement itself.
Trait Implementations§
Auto Trait Implementations§
impl<P> RefUnwindSafe for MeasurementResults<P>where P: RefUnwindSafe,
impl<P> Send for MeasurementResults<P>
impl<P> Sync for MeasurementResults<P>
impl<P> Unpin for MeasurementResults<P>where P: Unpin,
impl<P> UnwindSafe for MeasurementResults<P>where P: UnwindSafe,
Blanket Implementations§
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