QiskitSolver.make_rdm1#

QiskitSolver.make_rdm1(fake_ci_vec, norb, nelec)[source]#

Constructs the spin-traced 1-RDM.

Parameters:
  • fake_ci_vec (QiskitSolver) – the reference to the QiskitSolver.

  • norb (int) – the number of (active) orbitals. (currently ignored!)

  • nelec (int | tuple[int, int]) – the number of (active) electrons. (currently ignored!)

Returns:

The spin-traced 1-RDM.

Return type:

np.ndarray