Quantum Computing, Quantum Computer, Simulator, From Scratch.
#[#[0.7071067811865475] #[0.7071067811865475]]) ;; X H |0> ==> same superposition (gX (gH q0)) ; ==> (array #[#[0.7071067811865475] #[0.7071067811865475]]) ;; Measure (H |0>) (counts (gH q0)) ; ==> '#hash(((0) . 516) ((1) . 508)) ;; Measure (X |0>) (counts (gX q0)) ; ==> '#hash(((1) . 1024)) ⊗ —