Type Alias qasmsim::statevector::Complex

source ·
pub type Complex = Complex<f64>;
Expand description

Alias for the float-64-based complex.

Aliased Type§

struct Complex {
    pub re: f64,
    pub im: f64,
}

Fields§

§re: f64

Real portion of the complex number

§im: f64

Imaginary portion of the complex number