qiskit.circuit.classicalfunction.BooleanExpression.synth¶
-
BooleanExpression.
synth
(registerless=True, synthesizer=None)[source]¶ Synthesis the logic network into a
QuantumCircuit
.- Parameters
registerless (
bool
) – DefaultTrue
. IfFalse
uses the parameter names to create registers with those names. Otherwise, creates a circuit with a flat quantum register.synthesizer (
Optional
[Callable
[[BooleanExpression
],QuantumCircuit
]]) – A callable that takes self and returns a Tweedledum circuit.
- Returns
A circuit implementing the logic network.
- Return type