# Module: openfermion.circuits.gates.fermionic_simulation

## Classes

class CubicFermionicSimulationGate: w0|110⟩⟨101| + w1|110⟩⟨011| + w2|101⟩⟨011| + h.c. interaction.

class InteractionOperatorFermionicGate: The Jordan-Wigner transform of $$\exp(-i H)$$ for a fermionic Hamiltonian $$H$$, where $$H$$ is an interaction operator.

class ParityPreservingFermionicGate: The Jordan-Wigner transform of $$\exp(-i H)$$ for a fermionic Hamiltonian $$H$$.

class QuadraticFermionicSimulationGate: (w0 |10⟩⟨01| + h.c.) + w1 |11⟩⟨11| interaction.

class QuarticFermionicSimulationGate: Rotates Hamming-weight 2 states into their bitwise complements.

## Functions

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\}$$.

state_swap_eigen_component(...): The +/- eigen-component of the operation that swaps states x and y.

sum_of_interaction_operator_gate_generators(...): The interaction operator that is the sum of the generators of the specified fermionic simulation gates.

TYPE_CHECKING False

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]