You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add some improved tutorials for the most common use cases, including plain-vanilla Richardson-Gaudin and the picket-fence Richardson-Gaudin model.
We can do that! @PaulWAyers do you have any interesting property of the hamiltonian (like energy limit in case of infinite lattice, etc) we can show in the tutorial?
There are some phase transitions that one can see as a function of the pair-interaction strength, $g$. The issue with Richardson is that the (easy) way to solve it using a CI code is incredibly inefficient compared to the "right" way to solve it (pseudoanalytically). Perhaps just showing that the wavefunction becomes very far from single-reference for sufficiently large systems, $|\braket{\Psi(0)|\Psi(g)}| \rightarrow 0$ is already interesting.
Hi @PaulWAyers and @RichRick1 , I'd love to tackle this! Based on the comments, here is my plan for a PR to overhaul the RG tutorials:
Reframe the current RG.ipynb to explicitly state it is the Picket-Fence model (since eps = np.arange(6)).
Add a new notebook for the Plain-Vanilla RG model (degenerate $\varepsilon_i = 0$) to fulfill the issue request.
Add a Phase Transition / Wavefunction Overlap demonstration plotting $|\langle\Psi(0)|\Psi(g)\rangle| \to 0$ against $g$ to show the loss of single-reference character.
Add a brief Scaling demonstration showing the exponential wall of solving this via FCI vs the pseudo-analytical approach.
Document the PySCF integral pain points (explaining the einsum chemist notation transformation and the 1*h1, 2*h2_ch scaling factors).
Hi @PaulWAyers and @RichRick1 — I’m Asterisk-Hunter, a new contributor preparing for GSoC 2027. Since the related tutorial PR #153 was closed without merging, is one small tutorial still useful for #145? I could make a notebook that builds a plain-vanilla Richardson–Gaudin Hamiltonian with MoHa and uses PySCF FCI to show its energy spectrum. If that is not the best remaining gap, what single tutorial slice would you recommend?
Activity
RichRick1 commentedon Oct 28, 2024
We can do that! @PaulWAyers do you have any interesting property of the hamiltonian (like energy limit in case of infinite lattice, etc) we can show in the tutorial?
PaulWAyers commentedon Oct 28, 2024
There are some phase transitions that one can see as a function of the pair-interaction strength,$g$ . The issue with Richardson is that the (easy) way to solve it using a CI code is incredibly inefficient compared to the "right" way to solve it (pseudoanalytically). Perhaps just showing that the wavefunction becomes very far from single-reference for sufficiently large systems, $|\braket{\Psi(0)|\Psi(g)}| \rightarrow 0$ is already interesting.
PaulWAyers commentedon Feb 10, 2025
I think that @JannisErhard may have some ideas on this based on the frustrations of actually getting integrals in and out of PySCF and/or PyCI.
typhonshambo commentedon Mar 5, 2025
#153 opened a PR related to this
ijatinydv commentedon Feb 24, 2026
Hi @PaulWAyers and @RichRick1 , I'd love to tackle this! Based on the comments, here is my plan for a PR to overhaul the RG tutorials:
RG.ipynbto explicitly state it is the Picket-Fence model (sinceeps = np.arange(6)).einsumchemist notation transformation and the1*h1,2*h2_chscaling factors).Does this align with your vision for this issue?
Asterisk-Hunter commentedon Oct 5, 2026
Hi @PaulWAyers and @RichRick1 — I’m Asterisk-Hunter, a new contributor preparing for GSoC 2027. Since the related tutorial PR #153 was closed without merging, is one small tutorial still useful for #145? I could make a notebook that builds a plain-vanilla Richardson–Gaudin Hamiltonian with MoHa and uses PySCF FCI to show its energy spectrum. If that is not the best remaining gap, what single tutorial slice would you recommend?