quantax.model.UnrestrictedDet#

class quantax.model.UnrestrictedDet#

Unrestricted determinant wavefunction \(\psi(n) = \mathrm{det}(n_\uparrow \star U_\uparrow) \mathrm{det}(n_\downarrow \star U_\downarrow)\). Only works for spinful systems with specified number of spin-up and spin-down particles

__init__(U: tuple[Array, Array] | None = None, dtype: str | type[Any] | dtype | SupportsDType | None = None, out_dtype: str | type[Any] | dtype | SupportsDType | None = None)#

Initialize the UnrestrictedDet model.

Parameters:
  • U – A tuple (Uup, Udn) of the spin-up and spin-down orbital matrices. If None, both are initialized as a Fermi sea.

  • dtype – The data type for orbital parameters.

  • out_dtype – The data type for computations and outputs. When dtype is real and out_dtype is complex, U stores the real and imaginary parts using real numbers.

property U_full: tuple[Array, Array]#

Returns the full orbital matrix U.