qml.devices.default_qubit

The default.qubit device is PennyLane’s standard qubit-based device.

Classes

DefaultQubit([wires, shots, seed, max_workers])

A PennyLane device written in Python and capable of backpropagation derivatives.

Functions

accepted_analytic_measurement(m)

Specifies whether a measurement is accepted when analytic.

accepted_sample_measurement(m)

Specifies whether a measurement is accepted when sampling.

adjoint_observables(obs)

Specifies whether or not an observable is compatible with adjoint differentiation on DefaultQubit.

adjoint_ops(op)

Specify whether or not an Operator is supported by adjoint differentiation.

adjoint_state_measurements(tape[, device_vjp])

Perform adjoint measurement preprocessing.

all_state_postprocessing(results, ...)

Process a state measurement back into the original measurements.

null_postprocessing(results)

An empty post-processing function.

observable_accepts_analytic(obs[, is_expval])

Verifies whether an observable supports analytic measurement

observable_accepts_sampling(obs)

Verifies whether an observable supports sample measurement

stopping_condition(op)

Specify whether or not an Operator object is supported by the device.

stopping_condition_shots(op)

Specify whether or not an Operator object is supported by the device with shots.

Contents

Using PennyLane

Release news

Development

API

Internals