Quantum Computing, Programming, Technology, Rust, Coding.
classical computer, this state would simply be “0”. Let’s create the qubit and measure it’s state. 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)); // Definitely asleep