RESET

pyquil.gates.RESET(qubit_index=None)[source]

Reset all qubits or just a specific qubit at qubit_index.

Parameters:qubit_index (Optional[int]) – The address of the qubit to reset. If None, reset all qubits.
Returns:A Reset or ResetQubit Quil AST expression corresponding to a global or targeted reset, respectively.
Return type:Union[Reset, ResetQubit]