|View source on GitHub|
Defines the fermionic simulation gate family.
This is the family of two-qubit gates that preserve excitations (number of ON qubits), ignoring single-qubit gates and global phase. For example, when using the second quantized representation of electrons to simulate chemistry, this is a natural gateset because each ON qubit corresponds to an electron and in the context of chemistry the electron count is conserved over time. This property applies more generally to fermions, thus the name of the gate.
class FSimGate: Fermionic simulation gate family.
class PhasedFSimGate: General excitation-preserving two-qubit gate.