iqm.qaoa.qubo_qaoa

iqm.qaoa.qubo_qaoa#

A module for the QUBOQAOA class.

The class QUBOQAOA mostly serves to store the parameters (angles) of the QAOA circuit and to facilitate various operations on it. The training of the QAOA circuit is done here. For constructing circuits representing the QAOA, use functions from the module circuits. For sampling from the QAOA and calculating expectation values, use the backend classes from the module backends.

Classes

QUBOQAOA(problem, num_layers, *[, betas, ...])

The class for QAOA with quadratic unconstrained binary (QUBO) cost function.

Inheritance

Inheritance diagram of iqm.qaoa.qubo_qaoa