quantax.model.PartialPair#

class quantax.model.PartialPair#

Partially paired wavefunction.

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

Initialize the PartialPair model.

Parameters:
  • Nunpaired – The number of unpaired orbitals.

  • U – The orbital matrix. If None, it will be initialized as a Fermi sea.

  • J – The antisymmetric pairing matrix. If None, it will be initialized as equal pairing of Fermi sea orbitals.

  • 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, J stores the real and imaginary parts using real numbers.

__call__(x: Array) → LogArray#

Evaluates the wavefunction at a given configuration.

property U_full: Array#

Returns the full orbital matrix U.

property F_full: Array#

Returns the full antisymmetric matrix F.