qrisp.cold.DCQOProblem.apply_lcd_hamiltonian#

DCQOProblem.apply_lcd_hamiltonian(qarg, N_steps, T)[source]#

Simulate the local counterdiabatic driving (LCD) Hamiltonian on a quantum argument via trotterization.

The LCD Hamiltonian consists of the system Hamiltonian and the adiabatic gauge potential (AGP). H_init, H_prob, A_lam, and (for COLD) H_control are each Trotterized, using a fast native-gate path for Ising-type Hamiltonians and falling back to QubitOperator.trotterization() otherwise.

Parameters:
qargQuantumVariable

The quantum argument to which the quantum circuit is applied.

N_stepsint

Number of steps in which the timefunction lambda is split up.

Tfloat

Evolution time for the simulation.