Quantum Computing, Superposition, Entanglement, Wave Function, Artificial Intelligence.
superposition of |0⟩ and |1⟩ can be expressed as |ψ⟩ = α|0⟩ + β|1⟩, where If β = 0, |ψ⟩ = α|0⟩; if α = 0, |ψ⟩ = β|1⟩. Assuming that the two inputs are |ψ1⟩ = α1|0⟩ + β1|1⟩ and |ψ2⟩ = α2|0⟩ + β2|1⟩, the cirq.CNOT(q0, q1) function entangles |ψ1⟩ (written as |q0⟩, the control qubit, in the code) and