Is there a direct way to go from an object generated in openfermion to objects usable in Qiskit. I can't find anything about any plugin.

It's not too hard to translate into pyQuil and then to Qiskit from there, but a direct way would be much easier.

  • $\begingroup$ There seems to be some functionality for converting to QASM, which can be directly read into Qiskit, using QuantumCircuit.from_qasm_str(). I'm unfamiliar with OpenFermion so I don't know how useful this converter is $\endgroup$
    – met927
    Jan 21, 2020 at 11:15
  • $\begingroup$ @Andrew Jackson, how exactly would you convert a Pauli string from pyquil to qiskit format? $\endgroup$
    – mavzolej
    May 17, 2020 at 11:28
  • 2
    $\begingroup$ The easiest way if you just want to convert and not get to complicated is to use the tiKet library from CQC. It has functions to convert circuits from and to both PyQuil and Qiskit so you can just use it as an intermediary. $\endgroup$ May 20, 2020 at 16:32


Your Answer

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

Browse other questions tagged or ask your own question.