[][src]Module qasmsim::statevector

Contain utilities for representing the internal state of a quantum system.

Structs

StateVector

Represent the state vector of a quantum system simulation.

Functions

assert_approx_eq

Assert two state-vector are approximately equal by an error no higher than the f64 margin for each of the complex components.

Type Definitions

Complex

Alias for the float-64-based complex.

ComplexMargin

The margin withing two floats are considered the same is the same for each component of a complex number.