Quil-T
API Reference
Program.
reset
Reset all qubits or just a specific qubit at qubit_index.
qubit_index (Optional[int]) – The address of the qubit to reset. If None, reset all qubits.
Optional
int
Program
The Quil Program with the appropriate reset instruction appended, e.g. RESET 0