iqm.qaoa.backends

iqm.qaoa.backends#

The module for various backends for calculating the expectation value / samples from QAOA.

Classes

EstimatorBackend()

The ABC for estimator backends, i.e., those calculating the expected value of the Hamiltonian.

EstimatorFromSampler(sampler, shots[, cvar])

The estimator class for calculating the expectation value using counts obtained from a sampler.

EstimatorQUIMB()

The estimator class for calculating the expectation value using the tensor network package quimb.

EstimatorSingleLayer()

The estimator class for calculating the expectation value analytically (for \(p=1\) QAOA).

EstimatorStateVector()

The estimator class for calculating the expectation value using statevector simulation.

SamplerBackend()

The ABC for sampler backends, i.e., those returning samples from the QAOA.

SamplerRandomBitstrings()

A sampler that ignores the QAOA and just produces random bitstrings of the correct length.

SamplerResonance(token[, server_url, transpiler])

A sampler that runs the circuit on IQM Resonance and returns the result.

SamplerSimulation([simulator])

A sampler that simulates the QAOA circuit in qiskit.

Inheritance

Inheritance diagram of iqm.qaoa.backends