RESET

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

Reset all qubits or just one specific qubit.

Parameters:Qubit, QubitPlaceholder]] qubit_index (Optional[Union[integer_types,) – The qubit to reset. This can be a qubit’s index, a Qubit, or a QubitPlaceholder. 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]