There are tools like qutip helping you to simulate a given Hamiltonian. However, I am wondering is there any tool/library or something that takes e.g. a graph (G, V, E) of qubits and resonators, and returns a Hamiltonian. It does not have to be graph though, it can be anything, simply returning "approximated Hamiltonian" from the circuit.


Not sure if this answers your question directly, but Docplex, which is IBM's Decision Optimization CPLEX Modeling for Python is capable of generating an Ising hamiltonian from a cost function. Take a look at this qiskit tutorial.

| improve this answer | |
  • 1
    $\begingroup$ Thanks for your comment. Not really, this library transforms an optimization problem into the QUBO/Ising model. It has nothing to do with the actual Hamiltonian and qubit structure. $\endgroup$ – user185597 Nov 13 '19 at 5:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.