qp.labs.estimator_beta.MarkQubits

class MarkQubits(wires)[source]

Bases: object

A base class used to mark the state of certain wire labels.

This class can be used in quantum circuit (qfunc) to mark the state of certain algorithmic wires. Its primary use is to mark the state of algorithmic qubits so that they can be used by other subroutines.

Parameters:

wires (WiresLike) – the label(s) of the wires to be marked

equal(other)

Check if two MarkQubits instances are equal.

queue([context])

Adds the MarkQubit instance to the active queue.

equal(other)[source]

Check if two MarkQubits instances are equal.

queue(context=<class 'pennylane.queuing.QueuingManager'>)[source]

Adds the MarkQubit instance to the active queue.