|
Maestro 0.3.11
Unified interface for quantum circuit simulation
|
Go to the source code of this file.
Classes | |
| class | Circuits::MeasurementOperation< Time > |
| Measurement operation class. More... | |
| struct | Circuits::ReadoutRates |
| Classical readout-error rates for one measured qubit. More... | |
Namespaces | |
| namespace | Circuits |
Macros | |
| #define | _MEASUREMENTS_H_ |
Measurement operation class.
Implementation of an operation that does a qubit measurement on a simulator. The results are stored in a classical 'state'. Typically each qubit has a corresponding classical 'bit', but that does not need to be the case.
Definition in file Measurements.h.
| struct Circuits::ReadoutRates |
Classical readout-error rates for one measured qubit.
Applied when the measurement writes its classical bit, using the rates of the qubit that was read – never the classical-bit index. Zero rates mean no readout error.
Definition at line 35 of file Measurements.h.
| Class Members | ||
|---|---|---|
| double | p_meas0_prep1 = 0.0 | P(report 0 | measured 1). |
| double | p_meas1_prep0 = 0.0 | P(report 1 | measured 0). |
| #define _MEASUREMENTS_H_ |
Definition at line 19 of file Measurements.h.