qat.opt.mixing_factory.SimpleInitialState

class qat.opt.mixing_factory.SimpleInitialState(psi_0)

A very simple initial state builder that simply forces the initial state to some value.

Parameters

psi_0 (str, numpy.ndarray) – the initial state to prepare

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