Quantum Computing, Quantum Computer, Qiskit, Quantum Physics, Python.
X.dot(X) array([[1, 0], [0, 1]]) This is our Identity Matrix. Let’s see the same from quantum circuit point of view: # let's do an X-gate on a |0> qubit qc = QuantumCircuit(1) qc.x(0) qc.x(0) # apply the X gate qc.draw('mpl') # Let's see the result qc.save_statevector() state =