qml.devices.default_qutrit_mixed.warn_readout_error_state

warn_readout_error_state(tape)[source]

If a measurement in the QNode is an analytic state or density_matrix, and a readout error parameter is defined, warn that readout error will not be applied.

Parameters

tape (QuantumTape, QNode, Callable) – a quantum circuit.

Returns

The unaltered input circuit.

Return type

qnode (pennylane.QNode) or quantum function (callable) or tuple[List[QuantumTape], function]

Contents

Using PennyLane

Release news

Development

API

Internals