Skip to main content

QuantumAmplitude

Type Alias QuantumAmplitude 

Source
pub type QuantumAmplitude = Complex<f64>;
Expand description

Complex number type for quantum states

Aliased Type§

#[repr(C)]
pub struct QuantumAmplitude { pub re: f64, pub im: f64, }

Fields§

§re: f64

Real portion of the complex number

§im: f64

Imaginary portion of the complex number