quantax.model.MultiDet#

class quantax.model.MultiDet#

Multi-determinant wavefunction \(\psi(n) = \sum_i c_i \mathrm{det}(n \star U_i)\). \(U_i\) is the orbital matrix for the i-th determinant and \(c_i\) is its coefficient.

__init__(ndets: int = 4, U: Array | None = None, coeffs: Array | None = None, dtype: dtype | None = None, out_dtype: dtype | None = None)#

Initialize the MultiDet model.

Parameters:
  • ndets – The number of determinants.

  • U – The orbital matrices with shape (ndets, Nfmodes, Nparticles). If None, it will be initialized as Fermi seas.

  • coeffs – The coefficients of each determinant. If None, it will be initialized as uniform.

  • dtype – The data type for orbital parameters and coefficients.

  • 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: Array#

Returns the full orbital matrix U.

normalize() MultiDet#

Return a new MultiDet instance with orthonormalized orbitals.