WeightedSumSynthesisDefault
class qiskit.transpiler.passes.synthesis.hls_plugins.WeightedSumSynthesisDefault
Bases: HighLevelSynthesisPlugin
Synthesize a WeightedSumGate using the default synthesis algorithm.
This plugin name is:WeightedSum.default which can be used as the key on an HLSConfig object to use this method with HighLevelSynthesis.
Note
This default plugin requires auxiliary qubits. There is currently no implementation available without auxiliary qubits.
Methods
run
run(high_level_object, coupling_map=None, target=None, qubits=None, **options)
Run synthesis for the given Operation.
Parameters
- high_level_object (Operation) – The Operation to synthesize to a
DAGCircuitobject. - coupling_map (CouplingMap) – The coupling map of the backend in case synthesis is done on a physical circuit.
- target (Target) – A target representing the target backend.
- qubits (list) – List of qubits over which the operation is defined in case synthesis is done on a physical circuit.
- options – Additional method-specific optional kwargs.
Returns
The quantum circuit representation of the Operation
when successful, and None otherwise.
Return type