Quantum Computing, Superposition, Entanglement, Wave Function, Artificial Intelligence.
representing the change. The outputs differ because the X gate changes the qubits’ state, and the simulator recalculates the final state vector. In the more commonly seen wave function form (ket notation), it can be expressed as |ψ(2nd)⟩ = (0.5+0.j)|00⟩ — (0.5+0.j)|01⟩ — (0.5+0.j)|10⟩ +