Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

[BUG] Fix "SWAP" gates when sites aren't the same #20

Description

@mtfishman

"SWAP" gates aren't handling the case when the sites being swapped aren't the same, such as when they have different lengths or have named dimensions, like ITensor Index dimensions.

Followup to #17.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions