qit.examples.adiabatic_qc

qit.examples.adiabatic_qc(H0, H1, s0, tmax=50)

Adiabatic quantum computing.

This is a helper function for simulating the adiabatic quantum algorithm of [1] and plotting the results.

Parameters
  • H0 (array[complex]) – initial Hamiltonian

  • H1 (array[float]) – diagonal of the final Hamiltonian (assumed diagonal)

  • s0 (State) – initial state

  • tmax (float) – final time