qrunch.quantum.circuits.compilers.yordanov_qeb

Module defining the NAM QEB compiler.

Functions

compile_double_excitation_gate(gate)

Compile a double excitation evolution operator to the circuit.

compile_double_excitation_gate(gate: DoubleExcitationGate) Iterator[Gate]

Compile a double excitation evolution operator to the circuit.

Uses Figure 2 in https://arxiv.org/pdf/2011.10540. with the sign corrected on the first RZ gate. The parameters where scaled to fit our definition of a double excitation gate found in qrunch.quantum.gates.DoubleExcitationGate.

Parameters:

gate (DoubleExcitationGate) – Gate to compile.

Return type:

Iterator[Gate]