qml.labs.estimator_beta.MarkClean¶
- class MarkClean(wires)[source]¶
Bases:
MarkQubitsA class used to mark that certain wires are in the zero state.
This class can be used in quantum circuit (qfunc) to mark certain algorithmic wires as being in the zero state. Its primary use is to mark the state of algorithmic qubits as clean so that they can be used as auxiliary qubits by other subroutines.
- Parameters:
wires (WiresLike) – the label(s) of the wires to be marked
Example
>>> import pennylane.labs.estimator_beta as qre >>> qre.MarkClean(wires=[0,1,2]) MarkClean(Wires([0, 1, 2]))
Methods
code/api/api/pennylane.labs.estimator_beta.MarkClean
Download Python script
Download Notebook
View on GitHub