qat.opt.schedule_generator.ScheduleGenerator

class qat.opt.schedule_generator.ScheduleGenerator

Interface for problems that can be solved by a quantum annealing.

It requires the implementation of method that returns an Hamiltonian formulation of the target cost function.

annealing_job(tmax=None, mixing=None, **kwargs)

Generates a Quantum Annealing job performing a linear interpolation between an initial mixing Hamiltonian and the problem’s Hamiltonian.

abstract get_observable()

Generates a cost Hamiltonian encoding a problem or a cost function. This cost Hamiltonian will be used as the final Hamiltonian in a quantum annealing.