qml.devices.qutrit_mixed.measure¶
- measure(measurementprocess, state, is_state_batched=False, readout_errors=None)[source]¶
Apply a measurement process to a state.
- Parameters
measurementprocess (MeasurementProcess) – measurement process to apply to the state.
state (TensorLike) – the state to measure.
is_state_batched (bool) – whether the state is batched or not.
readout_errors (List[Callable]) – List of channels to apply to each wire being measured
errors. (to simulate readout) –
- Returns
the result of the measurement process being applied to the state.
- Return type
Tensorlike
code/api/pennylane.devices.qutrit_mixed.measure
Download Python script
Download Notebook
View on GitHub