Templates are a relatively new addition to C++, and they introduce the concept of generic programming. Generic programming is a data structure-independent way of developing and delivering algorithms ...
Each implementation is contained in a directory in the corresponding application area. For example, the Hamiltonian simulation function is contained in physics/hamiltonian_simulation. The directory ...