Module roqoqo::measurements
source · Expand description
Provides the functionality for post-processing the measurement output of the quantum computing programs.
Measurement classes take the result of the circuit running (or being simulated) on a backend and post-process a measurement record of sigma-z measurements or a statevector/density matrix to expectation values of observables. The measurement classes require additional information in the form of measurement input to reconstruct observables.
§Note
The functionality to perform the actual measurement is provided by the measurement operations crate::operations.
Structs§
- Cheated measurement using state obtained from simulator backend.
- Provides necessary information to run a crate::measurements::Cheated measurement.
- Collected information for executing a cheated measurement of a PauliZ product.
- Provides necessary information to run a crate::measurements::CheatedPauliZProduct measurement.
- Classical register measurement.
- Collected information for executing a measurement of PauliZ product.
- Provides Necessary Information to run a crate::measurements::PauliZProduct measurement.
Enums§
- Defines how Pauli Products expectation values are post-processed into observable expectation value.
Traits§
- Allows generic interfacing with roqoqo measurements.
- Allows generic interfacing with roqoqo measurements that evaluate expectation values.
Type Aliases§
- Represents Operator acting on Hilbert space as a sparse list of two indices and a value.
- Provides Mask for a single PauliProduct.
- Provides PauliProductMasks for all Pauli Products measured from one readout register.