Documentation

Complexitylib.Circuits.ExactFourier.Cslib

Exact scalar circuits transfer to CSLib #

The translation preserves every output and all sharing. It adds exactly one gate, for the source's free zero wire. Every addition, subtraction, and scalar multiplication remains a separate gate of fan-in at most two.

The only additional gate produces the source's free zero wire.

The translation preserves the complete vector of outputs.

Source matrix computation becomes literal CSLib function computation.

Source scalar circuits translate to CSLib circuits of fan-in at most two.