Skip to content

Dealing with Spin #106

Description

@PaulWAyers

We need to be able to compute S^2 in PyCI, as determinant-based calculations are not naturally/automatically eigenfunctions of S^2.

We could use ModelHamiltonian to make the S^2 operator (it would be linked to issue #150 there) or we could just code it directly here, which might be more direct. The easiest way to do it, I think, is to use the formula in terms of the raising and lowering operators:

$$ \hat{S}^2 = \tfrac{1}{2} (\hat{S}_{+} \hat{S}_{-} + \hat{S}_{-} \hat{S}_{+} ) + S_z^2 $$

We could also implement a spin-purification/projection method to try to get a non-spin-pure eigenfunction a bit closer to a spin eigenstate.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions