4

I'm just wondering if there is an algorithm to do reverse mapping of a Hamiltonian on qubit basis to fermionic operator in Fock space, assuming we know the mapping rule (e.g. Jordan-Wigner).

Martin Vesely
  • 13,891
  • 4
  • 28
  • 65
user21384
  • 41
  • 1
  • Jordan–Wigner transformation as far as I know was originally created to do the opposite, map spins into fermions. Most books on second quantization go this path. – Mauricio Jul 27 '22 at 23:55
  • 1
    I think I solved my own problem. Openfermion has a function called reverse_jordan_wigner that has that function – user21384 Jul 28 '22 at 16:13
  • 1
    you can submit an answer to your own question but you should edit the question to specify that you were looking for a solution in Qiskit – Mauricio Jul 28 '22 at 16:56

0 Answers0