triqs::atom_diag::act
#include <triqs/atom_diag/functions.hpp>
Synopsis
template<bool Complex>typename atom_diag<Complex>::full_hilbert_space_state_t act (typename atom_diag<Complex>::many_body_op_t const & op,typename atom_diag<Complex>::full_hilbert_space_state_t const & st,atom_diag<Complex> const & atom)
Act with operator op on state st
Parameters
- op Operator to act on the state.
- st Initial state vector in the full Hilbert space, written in the eigenbasis of the Hamiltonian.
- atom Solved diagonalization problem.
Returns
Final state vector in the full Hilbert space.