CSWAP gate
Composer reference | OpenQASM reference |
---|
| cswap q[0], q[1], q[2]; |
U1 gate
The U1 gate has been renamed the phase gate.
Composer reference | OpenQASM reference |
---|
| u1(theta) q[0]; |
U3 gate
The U3 gate has been renamed the U gate.
Composer reference | OpenQASM reference |
---|
| u3(theta, phi, lam) q[0]; |
U2 gate
Composer reference | OpenQASM reference |
---|
| u2(theta, phi) q[0]; |
CU1 gate
To recreate this gate, add the control modifier to the phase gate (formerly the U1 gate).
Composer reference | OpenQASM reference |
---|
| cu1(angle) q[0], q[1]; |
CU3 gate
To recreate this gate, add the control modifier to the U gate (formerly the U3 gate).
Composer reference | OpenQASM reference |
---|
| cu3(angle) q[0], q[1]; |
CH gate
Composer reference | OpenQASM reference |
---|
| ch q[0], q[1]; |
CY gate
Composer reference | OpenQASM reference |
---|
| cy q[0], q[1]; |
CZ gate
Composer reference | OpenQASM reference |
---|
| cz q[0], q[1]; |
CRX gate
Composer reference | OpenQASM reference |
---|
| crx(angle) q[0], q[1]; |
CRY gate
Composer reference | OpenQASM reference |
---|
| cry(angle) q[0], q[1]; |
CRZ gate
Composer reference | OpenQASM reference |
---|
| crz(angle) q[0], q[1]; |