We're celebrating World Quantum Day 2022! Join us

openfermion.circuits.fermionic_simulation_gates_from_interaction_operator

Given \(H = \sum_{I \subset [n]} H_I\), returns gates

\(\left\{G_I\right\} = \left\{e^{i H_I\right\}\).

Each term \(H_I\) is the sum of all terms in \(H\) that involve exactly the orbitals \(I\).

operator The interaction operator (\(H\)).

Returns: A dict from tuples of mode indices to gates.