I know the matrix form for X-gate
, Y-gate
and Z-gate
. But what is the matrix form for all the rotation gates? For example, in qiskit, which matrix does qc.rx(0)
refer to?
I know the matrix form for X-gate
, Y-gate
and Z-gate
. But what is the matrix form for all the rotation gates? For example, in qiskit, which matrix does qc.rx(0)
refer to?
Please check the link below for Qiskit convention:
qiskit.org/documentation/stubs/qiskit.circuit.library.RXGate.html
qiskit.org/documentation/stubs/qiskit.circuit.library.RYGate.html
qiskit.org/documentation/stubs/qiskit.circuit.library.RZGate.html
They are also listed on Wikipedia:
en.wikipedia.org/wiki/Quantum_logic_gate
Note: Different platform might have a slight difference on Rz gate with a global phase of $e^{i\theta/2}$.