.. _Examples_SparseMatrix_petsc_Hamiltonian_real_time_evolution_code: ########################################################### examples/SparseMatrix_petsc_Hamiltonian_real_time_evolution ########################################################### :download:`examples/SparseMatrix_petsc_Hamiltonian_real_time_evolution/src/main.cpp<../../../examples/SparseMatrix_petsc_Hamiltonian_real_time_evolution/src/main.cpp>` .. literalinclude:: ../../../examples/SparseMatrix_petsc_Hamiltonian_real_time_evolution/src/main.cpp :language: cpp :linenos: