qiskit.circuit.classicalfunction.ClassicalFunction.synth¶
-
ClassicalFunction.
synth
(registerless=True, synthesizer=None)[source]¶ Synthesis the logic network into a
QuantumCircuit
.- Parameters
registerless (
bool
) – DefaultTrue
. IfFalse
uses the parameter names to createwith those names. Otherwise (registers) –
a circuit with a flat quantum register. (creates) –
synthesizer (
Optional
[Callable
[[ClassicalElement
],QuantumCircuit
]]) – Optional. If None tweedledum’s pkrm_synth is used.
- Returns
A circuit implementing the logic network.
- Return type