use crate::math::{Amplitude, SQRT_ONE_HALF};
pub const H: [Amplitude; 4] = [
Amplitude {
re: SQRT_ONE_HALF,
im: 0.0,
},
Amplitude {
re: SQRT_ONE_HALF,
im: 0.0,
},
Amplitude {
re: SQRT_ONE_HALF,
im: 0.0,
},
Amplitude {
re: -SQRT_ONE_HALF,
im: 0.0,
},
];
pub const X: [Amplitude; 4] = [
Amplitude { re: 0.0, im: 0.0 },
Amplitude { re: 1.0, im: 0.0 },
Amplitude { re: 1.0, im: 0.0 },
Amplitude { re: 0.0, im: 0.0 },
];
pub const Y: [Amplitude; 4] = [
Amplitude { re: 0.0, im: 0.0 },
Amplitude { re: 0.0, im: -1.0 },
Amplitude { re: 0.0, im: 1.0 },
Amplitude { re: 0.0, im: 0.0 },
];
pub const Z: [Amplitude; 4] = [
Amplitude { re: 1.0, im: 0.0 },
Amplitude { re: 0.0, im: 0.0 },
Amplitude { re: 0.0, im: 0.0 },
Amplitude { re: -1.0, im: 0.0 },
];