qat.opt.mixing_factory.InitialStateBuilder
- class qat.opt.mixing_factory.InitialStateBuilder
A concept for an object that can modify an analog job in order to inject some particular initial state in the computation.
This interface requires implementation of a single method inject_initial_state that can modify a
Job
object in order to setup the correct initial state for adiabatic quantum optimization.This method might simply modify the psi_0 field of the job, or prepend instructions to the job’s schedule.
- abstract inject_initial_state(aqo_job)
Modifies in place an AQO job in order to prepare a particular initial state.
- Parameters
aqo_job (
qat.core.Job
) – the job to modify