pub type CType = Complex64;Expand description
Complex data type for quantum states (matches TorchQuantum’s C_DTYPE)
Aliased Type§
#[repr(C)]pub struct CType {
pub re: f64,
pub im: f64,
}Fields§
§re: f64Real portion of the complex number
im: f64Imaginary portion of the complex number