Subspace hamiltonian implemented