Module qasmsim::statevector
source · Expand description
Contain utilities for representing the internal state of a quantum system.
Structs
- Represent the state vector of a quantum system simulation.
Functions
- Assert two state-vector are approximately equal by an error no higher than the f64 margin for each of the complex components.
Type Aliases
- Alias for the float-64-based complex.
- The margin withing two floats are considered the same is the same for each component of a complex number.