Skip to content

Improved Tutorials #145

Open
Open

Description

@PaulWAyers

We should add some improved tutorials for the most common use cases, including plain-vanilla Richardson-Gaudin and the picket-fence Richardson-Gaudin model.

Activity

  1. RichRick1 commented on Oct 28, 2024

    @RichRick1
    Collaborator

    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?

  2. PaulWAyers commented on Oct 28, 2024

    @PaulWAyers
    MemberAuthor

    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.

  3. added
    documentation
    good first issue
    on Feb 4, 2025
  4. PaulWAyers commented on Feb 10, 2025

    @PaulWAyers
    MemberAuthor

    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.

  5. typhonshambo commented on Mar 5, 2025

    @typhonshambo

    #153 opened a PR related to this

  6. ijatinydv commented on Feb 24, 2026

    @ijatinydv

    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:

    1. Reframe the current RG.ipynb to explicitly state it is the Picket-Fence model (since eps = np.arange(6)).
    2. Add a new notebook for the Plain-Vanilla RG model (degenerate $\varepsilon_i = 0$) to fulfill the issue request.
    3. 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.
    4. Add a brief Scaling demonstration showing the exponential wall of solving this via FCI vs the pseudo-analytical approach.
    5. Document the PySCF integral pain points (explaining the einsum chemist notation transformation and the 1*h1, 2*h2_ch scaling factors).

    Does this align with your vision for this issue?

  7. Asterisk-Hunter commented on Oct 5, 2026

    @Asterisk-Hunter

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions