Non-Unitary Instructions
| Name | Operator | Description | Example |
|---|---|---|---|
| Init | init | Initialize the qubit in \(\vert0\rangle\) | builder.init(0) |
| Measure | measure | Measures the qubit (by default in the Z-basis) and stores the outcome in the specified bit | builder.measure(0, 0) |
| Reset | reset | Resets the state of the qubit to \(\vert0\rangle\) | builder.reset(0) |