![]() |
Given \(H = \sum_{I \subset [n]} H_I\), returns gates
openfermion.circuits.fermionic_simulation_gates_from_interaction_operator(
operator: 'openfermion.InteractionOperator'
)
\(\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\).
Args | |
---|---|
operator
|
The interaction operator (\(H\)). |
Returns: A dict from tuples of mode indices to gates.