Circuit composition -- definitions #
Serial composition materializes the K output gates of an inner
N → K circuit as internal wires, then rewires every input of an outer
K → M circuit to those wires. If the two circuits have G₁ and G₂
internal gates, the composite has exactly G₁ + K + G₂ internal gates.
Consequently its library size is the sum of the two source sizes.
Embed an outer-circuit wire into the composite. Outer primary inputs map to the materialized inner outputs; outer internal wires map after that block.
Equations
Instances For
The gate at one flat index of a serially composed circuit, bundled with its acyclicity proof.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Serially compose outer : K → M after inner : N → K.
The K output gates of inner become internal gates so that they can feed
arbitrarily many gates of outer without duplicating computation.
Equations
- One or more equations did not get rendered due to their size.