F2FSynthesisConfig¶
- F2FSynthesisConfig¶
The dictionary type used to configure the
F2FSynthesis.methods.The keys of this dictionary must be names of
FermionicGateclasses that can be broken down in fermionic space. The values can be one of four types:str: the simplest scenario simply specifies the name of the plugin method to use for the corresponding key in this dictionary. The plugin is extracted from theF2FSynthesisPluginManagerand its__init__method may not require any arguments.tuple[str, Sequence[Any]]: the firststris the same as the above, and the secondSequence[Any]can be used to provide any positional arguments to the plugin’s__init__method.tuple[str, Sequence[Any], Mapping[str, Any]]: the first two fields are the same as in 2. and the thirdMapping[str, Any]can be used to provide any keyword arguments to the plugin’s__init__method.an instance of an
F2FSynthesisPlugin, which is used as is. This is how a plugin that is not registered through an entry point enters the pass.
alias of
dict[str,str|tuple[str,Sequence[Any]] |tuple[str,Sequence[Any],Mapping[str,Any]] |F2FSynthesisPlugin]