qml.devices.reference_qubit

Contains the ReferenceQubit device, a minimal device that can be used for testing and plugin development purposes.

Classes

ReferenceQubit([wires, shots, seed])

A slimmed down numpy-based simulator for reference and testing purposes.

Functions

sample_state(state, shots[, seed])

Generate samples from the provided state and number of shots.

simulate(tape[, seed])

Simulate a tape and turn it into results.

supports_operation(op)

This function used by preprocessing determines what operations are natively supported by the device.