qml.noise.conditionals.MeasEq¶
- class MeasEq(mps)[source]¶
Bases:
pennylane.boolean_fn.BooleanFn
A conditional for evaluating if a given measurement process is equal to the specified measurement process.
- Parameters
mp (Union[Iterable[MeasurementProcess], MeasurementProcess, Callable]) – A measurement process instance or a measurement function to build the measurement set.
See also
Users are advised to use
meas_eq()
for a functional construction.Attributes
Determine whether the wrapped callable performs a bitwise operation or not.
Determine whether the wrapped callable is for a conditional or not.
- bitwise¶
Determine whether the wrapped callable performs a bitwise operation or not. This checks for the
operands
attribute that should be defined by it.
- conditional¶
Determine whether the wrapped callable is for a conditional or not. This checks for the
condition
attribute that should be defined by it.