qit.plot.adiabatic_evolution

qit.plot.adiabatic_evolution(t, st, H_func, n=4)

Adiabatic evolution plot.

Plots the energies of the eigenstates of H_func(t[k]) as a function of t[k], and the overlap of st[k] with the n lowest final Hamiltonian eigenstates. Useful for illustrating adiabatic evolution.

Parameters
  • t (Sequence[float]) – time instances

  • st (Sequence[state]) – states corresponding to the times

  • H_func (callable) – time-dependant Hamiltonian function, float -> array

  • n (int) – how many lowest eigenstates of the final Hamiltonian to include in the overlap plot

Returns

the plots

Return type

Figure