Skip to content

feat: Implement Ising Hamiltonian analysis for AnalogGate This commi… #67

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

idriss-hamadi
Copy link

@idriss-hamadi idriss-hamadi commented May 29, 2025

…t introduces an analysis pass to check if an AnalogGate implements an Ising-like Hamiltonian. The analysis verifies: - Only qubit registers are used. - Hamiltonian is composed of weight-2 Pauli strings (or weight-1/0). - Coefficients are time-independent. It also extracts coupling matrices (XX, YY, ZZ, XY, XZ, YZ) for valid Ising-like Hamiltonians. Includes unit tests for various valid and invalid cases. Closes #59

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

… introduces an analysis pass to check if an AnalogGate implements an Ising-like Hamiltonian. The analysis verifies: - Only qubit registers are used. - Hamiltonian is composed of weight-2 Pauli strings (or weight-1/0). - Coefficients are time-independent. It also extracts coupling matrices (XX, YY, ZZ, XY, XZ, YZ) for valid Ising-like Hamiltonians. Includes unit tests for various valid and invalid cases. Closes OpenQuantumDesign#59
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.

[IN REVIEW] Check if an analog AnalogGate implements an Ising-like Hamiltonian
1 participant