Enum qdk_sim::Instrument [−][src]
Expand description
Represents a quantum instrument; that is, a process that accepts a quantum state and returns the new state of a system and classical data extracted from that system.
Variants
The effects of the instrument, represented as completely positive trace non-increasing (CPTNI) processes.
An instrument that measures a single qubit in the $Z$-basis, up to a readout error (probability of result being flipped).
Primarily useful when working with stabilizer states or other subtheories.
Show fields
Fields of ZMeasurement
pr_readout_error: f64
Probability with which a result is flipped.
Implementations
Samples from this instrument, returning the measurement result and the new state of the system conditioned on that measurement result.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Instrument
impl Send for Instrument
impl Sync for Instrument
impl Unpin for Instrument
impl UnwindSafe for Instrument