Quantum Computing, Quantum Computer, Qiskit, Quantum Physics, Python.
S-gate is not its own inverse! We have a separate gate for that called the S† or S dagger. This is how you add S gate in Qiskit: qc = QuantumCircuit(1) qc.s(0) # Apply S-gate to qubit 0 qc.sdg(0) # Apply Sdg-gate to qubit 0 qc.draw('mpl') The T-gate: The T-gate is yet another Phase gate, but with a