Module roqoqo::measurements[][src]

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

Collected information for executing a basis rotation measurement.

Provides Necessary Information to run a crate::measurements::BasisRotation measurement.

Cheated measurement using state obtained from simulator backend.

Collected information for executing a cheated basis rotation measurement.

Provides necessary information to run a crate::measurements::CheatedBasisRotation measurement.

Provides necessary information to run a crate::measurements::Cheated measurement.

Classical register 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 Definitions

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.