Quantum Computing, Superposition, Entanglement, Wave Function, Artificial Intelligence.
If the control qubit |ψ1⟩ is in |1⟩ (i.e., |ψ1⟩ = |q0⟩ = |1⟩), by definition, the target qubit flips. Therefore, the output would be |ψ2⟩ = α2|1⟩ + β2|0⟩ since the CNOT gate acts as a controlled NOT (flip) operation. When the control is |1⟩ (meaning “flip if true”), it flips the target state. Lines