3
$\begingroup$

There are tools like QuTip helping you simulate a given Hamiltonian. However, I am wondering if 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.

$\endgroup$

2 Answers 2

1
$\begingroup$

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.

$\endgroup$
1
  • 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
    Commented Nov 13, 2019 at 5:07
0
$\begingroup$

So if it's like -

  • You have an arbitrary (L,C) circuit
  • And want to quantize it and get a Hamiltonian matrix

Then you could use QuCAT (Quantum Circuit Analyzer Tool), a python library developed by people at Delft University. It can even handle resistors, and it'll compute the associated decay operators, too!

If, however, you have some arbitrary geometry with distributed elements like transmission lines, resonators etc, you could explore IBM's Qiskit Metal.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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