Quantum Computing, Programming, Technology, Rust, Coding.
(self.asleep_amplitude - self.awake_amplitude) * factor, ) } } let’s see how the hardamard effects the state of the cat. filename: src/main.rs use quantum_gates::QuantumCat; use num_complex::Complex; fn main() { let initial_cat = QuantumCat::new(Complex::new(1.0, 0.0), Complex::new(0.0, 0.0)); //