ClassicalFunction.synth

ClassicalFunction.synth(registerless=True)[source]

Synthesis the logic network into a QuantumCircuit.

Parameters
  • registerless (bool) – Default True. If False uses the parameter names to create

  • with those names. Otherwise (registers) –

  • a circuit with a flat quantum register. (creates) –

Returns

A circuit implementing the logic network.

Return type

QuantumCircuit