Skip to content

Conversation

@andrewkhardy
Copy link
Contributor

I've added an Sy operator for the tJ site types. It should model the Sx operator form almost exactly.

I've added an Sy operator for the tJ site types
@mtfishman
Copy link
Member

mtfishman commented Apr 7, 2025

Thanks @andrewkhardy, can you also add a test?

@andrewkhardy
Copy link
Contributor Author

@mtfishman Thanks for the quick response. Sorry, I'm new to this, what would be a helpful test? I didn't see anything immediately relevant in test_fermions.jl?

Matt's tidyin suggestion

Co-authored-by: Matt Fishman <[email protected]>
@mtfishman
Copy link
Member

You could add something similar to the test of "Sx": https://github.com/ITensor/ITensors.jl/blob/v0.9.1/test/base/test_phys_site_types.jl#L741-L744.

Adding a test for Sy to match Sx to insure the right Pauli operator is being applied to tJ site types.
@andrewkhardy
Copy link
Contributor Author

Thanks for pointing that out, added!

@mtfishman mtfishman changed the title Update tj.jl [ITensors] Define Sy for tJ site type Apr 7, 2025
@mtfishman
Copy link
Member

Thanks!

@mtfishman mtfishman merged commit d0010f2 into ITensor:main Apr 7, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants