GivensDecompositionSlaterDeterminantSynthesis

class GivensDecompositionSlaterDeterminantSynthesis(*, minimize_2q_gate_count=False)

Bases: object

DEPRECATED The former plugin for transpiling a PrepareSlaterDeterminant into Givens rotations.

This is the FermionicSlaterGivensDecomposition followed by the Jordan-Wigner mapping of its gates.

Initializing this plugin can be done with the argument below.

Deprecated since version 0.4.0: The class qiskit_fermions.transpiler.passes.synthesis._deprecated_givens.GivensDecompositionSlaterDeterminantSynthesis is deprecated as of qiskit-fermions 0.4.0. It will be removed no earlier than 3 months after the release date. Break the gate down with F2FSynthesis({‘PrepareSlaterDeterminant’: ‘Givens’}) in the optimization stage instead, which works with any encoding.

Parameters:

minimize_2q_gate_count (bool) – no longer supported. The peeling of unit-orbitals that this enabled was removed, so True has no effect and warns.

Attributes

minimize_2q_gate_count

Always False, see __init__.

Methods

run(in_node, out_dag, *, f2q_layout)

Runs this transpilation plugin.

Parameters:
Return type:

None