Skip to content

Accept Hamiltonian as input #6

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
keefehuang opened this issue May 5, 2023 · 2 comments
Open

Accept Hamiltonian as input #6

keefehuang opened this issue May 5, 2023 · 2 comments

Comments

@keefehuang
Copy link

keefehuang commented May 5, 2023

Allow for inputs to be phrased as pauli strings (ie in Ising formulation), ie "XX+YY+ZZ" with coefficients.
Possibly output a trotterized circuit (1st or 2nd order trotterization)
This would allow for a wider audience (for example in quantum Chemistry).

This could also be implemented by supporting conversion from Tequila or Openfermion formulation

@Zshan0
Copy link

Zshan0 commented May 26, 2023

I have a similar kind of implementation in my library. I represent Hamiltonians as a dictionary that maps Pauli strings to their coefficients. For Hamiltonian representation here we can have similar approach.

Here (link) is the functionality for taking the Hamiltonian in my format and outputting the qiskit QuantumCircuit. I could modify this to work with the circuit in pauliopt

@s-aldaihan
Copy link

s-aldaihan commented May 30, 2023

Can I work work on this one? @keefehuang

@y-richie-y y-richie-y assigned s-aldaihan and unassigned s-aldaihan May 31, 2023
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

No branches or pull requests

3 participants