Lesson 01 identity gate


The identity gate performs an idle operation on the qubit for a time equal to one unit of time.

matrix form: identity matrix
| 1 0 |
| 0 1 |



quantum assembly language (QASM): gate id a { }
id q[0];
id q[1];