Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for other coupling operators #4

Open
hodgestar opened this issue Aug 25, 2023 · 3 comments
Open

Add support for other coupling operators #4

hodgestar opened this issue Aug 25, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@hodgestar
Copy link
Contributor

Currently the interaction operators supported are XX, YY, and ZZ. It would be nice to have support for more general coupling operators such as XZ.

@hodgestar hodgestar added the enhancement New feature or request label Aug 25, 2023
@hodgestar
Copy link
Contributor Author

One nice way to handle the whole operator thing would be to add the concept of a custom operator that we can use in a few different places (e.g. for expectation values).

If the user selects custom, they can then edit the operator in the details section and write their own. E.g. "XX" could be the operator "XX", but the user could also write "XZ" or "XX + YY" or similar.

@hodgestar
Copy link
Contributor Author

Boxi suggested that we just add interaction options for "XY", "XZ", "YZ" and "YX", "ZX", "ZY" and that will cover all 9 possibilities.

@ajgpitch
Copy link
Member

ajgpitch commented Sep 4, 2023

I think it should be fairly easy within the interface, that when making a coupling, to have radio buttons for qubit_i operator and qubit_j operator. This would add most of the flexibility that is suggested here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants