GivensDecompositionSlaterDeterminantSynthesis¶
- class GivensDecompositionSlaterDeterminantSynthesis(*, minimize_2q_gate_count=False)¶
Bases:
objectDEPRECATED The former plugin for transpiling a
PrepareSlaterDeterminantinto Givens rotations.This is the
FermionicSlaterGivensDecompositionfollowed 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.GivensDecompositionSlaterDeterminantSynthesisis 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
Truehas 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:
in_node (DAGOpNode) – the input fermion-based circuit instruction, a
PrepareSlaterDeterminant.out_dag (DAGCircuit) – the output qubit-based circuit.
f2q_layout (dict[QuantumRegister, QuantumRegister]) – the global transpilation
F2QLayoutsetting.
- Return type:
None