Commit bfc2cddc authored by Davison's avatar Davison
Browse files

slight change to holes property

parent 59ef7fbc
......@@ -36,8 +36,8 @@ class PairingHamiltonian2B(Hamiltonian):
self._reference = np.append(np.ones(n_hole_states), np.zeros(n_particle_states))
self._reference = ref
self._holes = np.arange(n_hole_states, dtype=np.int64)
self._holes = np.arange(n_hole_states, dtype=np.int64)
self._n_sp_states = n_hole_states + n_particle_states
self._particles = np.arange(n_hole_states,self.n_sp_states, dtype=np.int64)
self._sp_basis = np.append(self.holes, self.particles)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment