qiskit-community / ffsim

Faster simulations of fermionic quantum circuits.
https://qiskit-community.github.io/ffsim/
Apache License 2.0
22 stars 6 forks source link

Add spinless support to slater_determinant_rdm #235

Closed kevinsung closed 3 months ago

kevinsung commented 4 months ago

occupied_orbitals: tuple[Sequence[int], Sequence[int]] should be replaced with occupied_orbitals: Sequence[int] | tuple[Sequence[int], Sequence[int]]

kevinsung commented 3 months ago

248 replaced slater_determinant_rdm with slater_determinant_rdms which has spinless support.