FermionicGivensDecomposition
class FermionicGivensDecomposition(*, atol=1e-12)
Bases: object
The decomposition of an orbital rotation into Givens rotations and phases.
The unitary of the OrbitalRotation is factorized with givens_decomposition() into at most rotations between adjacent modes plus single-mode phases, the rectangular mesh of Clements et al. [1]. Every factor is itself an orbital rotation, whose many-body unitary is for the Hermitian generator . It is therefore emitted as an Evolution gate at unit time on the one or two modes it acts on.
The emitted gates are atomic, and the operator of each holds a single group. The terms of a two-mode generator, and , do not commute with each other, so splitting it up any further would only approximate the factor: the fermion-to-qubit stage maps and synthesizes it whole. Under Jordan-Wigner, the generator of a rotation between adjacent modes is a hop between adjacent qubits, which the qubit stage can recognize (see HopEvolutionSynthesis).
Because is a group homomorphism, the product of the factors equals the full rotation exactly. The decomposition itself therefore adds no error: only the synthesis of the individual factors can.
[1]
W. R. Clements et al., Optimal design for universal multiport interferometers, Optica 3, 1460 (2016), arXiv:1603.08788.
Initializing an instance of this synthesis method can be done with the arguments below.
Parameters
atol (float) – the absolute tolerance below which factors and entries are dropped. This is applied to the entries of the generator of a factor and to the angle of a single-mode phase.
Attributes
atol
The magnitude below which entries of a generator and angles of a phase are dropped.
Methods
synthesize
synthesize(gate)
Synthesizes the gate into the mesh of atomic Evolution gates.
See the class documentation for the decomposition this implements.
Parameters
gate (OrbitalRotation) – the gate to synthesize.
Returns
A FermionicCircuit holding one Evolution gate per two-mode rotation and per non-trivial phase, in the order in which they are applied. The rotations come first, then the phases.
Return type