Quantum, Quantum Computing, Algebra, Logic Gates.
the X-gate switches the amplitudes of the states |0⟩ and |1⟩: In Qiskit, we can create a short circuit to verify this: # Let's apply a Pauli X-gate on a |0> qubit qc = QuantumCircuit(1) #create a new circuit with one register qc.x(0) #create a |0> qubit qc.draw() To visualize the result of our