qml.devices.default_mixed

The default.mixed device is PennyLane’s standard qubit simulator for mixed-state computations.

It implements the necessary LegacyDevice methods as well as some built-in qubit operations, providing a simple mixed-state simulation of qubit-based quantum circuits.

Classes

DefaultMixed(wires, *[, r_dtype, c_dtype, ...])

Default qubit device for performing mixed-state computations in PennyLane.

DefaultMixedNewAPI([wires, shots, seed, ...])

A PennyLane Python-based device for mixed-state qubit simulation.

Functions

observable_stopping_condition(obs)

Specifies whether an observable is accepted by DefaultQubitMixed.

stopping_condition(op)

Specify whether an Operator object is supported by the device.

warn_readout_error_state(tape)

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

Contents

Using PennyLane

Release news

Development

API

Internals