ComPWA / qrules

Rule-based particle reaction problem solver on a quantum number level
https://qrules.rtfd.io
Apache License 2.0
9 stars 4 forks source link

Implement toy problem that shows how to use `python-constraints` #266

Closed grayson-helmholz closed 1 week ago

grayson-helmholz commented 1 month ago

General proposal description:

A possible toy-problem is the generation of Configuration State Functions (CSF's) from Slater-Determinants which are known from Quantum Chemistry. The former form a basis for Many-Electron-Wavefunctions (MEW's) which also obey the same quantum number constraints as the MEW (primarily occupation number, spin-magnitude and spin-projection).

For this problem no actual molecular orbitals and thus no explicit Slater-Determinants are needed. It suffices to treat the latter just as a Occupation-Number-Vector (ONV) of the different spin-orbitals (ordered by energy).

Procedure:

Possible additions:

redeboer commented 1 month ago

Sounds like a nice example, the challenge will be to formulate this problem as CSP and to see how this translates to the python-constraints2 package (incidentally, this also goes into the direction #261).

I'm fine with investigating this in the form of a Python script. Once a solution is worked out, it would be nice to document it in compwa.github.io/reports.

redeboer commented 1 week ago

Summary of yesterday's meeting: putting this issue on hold for now in favour of #272. The worry is that the translation between CSFs and MEWs and then to CSP requires too much effort considering it is more of an exercise to become familiar with CSP and the python-constraints API.