EvolutionSynthesis

class EvolutionSynthesis

Bases: object

A F2QSynthesisPlugin for transpiling a Evolution.

Attributes

mapper_fn: Callable[[FermionOperator | MajoranaOperator], SparseObservable]

The fermion-to-qubit operator mapping function.

Note

It is the user’s responsibility to ensure that this function is in-sync with the global transpilation F2QLayout setting.

Methods

run(in_node, out_dag, *, f2q_layout)

Runs this transpilation plugin.

Parameters:

See also

The documentation of F2QSynthesisPlugin for more detailed explanations of the arguments.

Raises:

NotImplementedError – when in_node acts on fermionic modes that are spread across multiple FermionRegister instances.

Parameters: