Skip to content

Time Evolution Code

latticeDimReg edited this page Mar 22, 2022 · 2 revisions

Documentation

Z2gates.py

TODO:

  • Talk about the various flags that are available for use
  • Describe what this script file contains

apply_mass_terms

This function will apply a Rz rotation on the qubits corresponding to the fermion sites this phasing is scaled by the trotter step size (epsilon) and the mass, m TODO

apply_gauge_terms

This function will apply a Rx rotation on the qubits corresponding to the gauge links between the sites. The rotation angle is given by the Trotter step size epsilon. TODO

apply_fermion_hopping

This function is used to apply the fermion hopping term across an arbitary number of sites. TODO

apply_fermion_hopping_2sites

this function is a hardcoded method of implementing the two site (3-qubit) simulation with a highly optimized formulation of the fermion hopping operator

apply_fermion_hopping_4sites

this function is a hardcoded method of implementing the four site (7-qubit) simulation with a highly optimized formulation of the fermion hopping operator. There are several optional flags that are present.

Trotterization.py

TODO:

  • Fill in the details about the various functions that are available
  • Talk about the various flags that are available for use
  • Describe what this script file contains