qml.devices.default_mixed.warn_readout_error_state¶
- warn_readout_error_state(tape)[source]¶
If a measurement in the QNode is an analytic state or density_matrix, 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]