Documentation

Complexitylib.Circuits.Shallow.Layer

Compiling alternating layers to CSLib #

The output is a CSLib circuit over Basis.unboundedAndOr.signature. Size counts AND/OR gates and depth counts gate layers; signed inputs cost neither.

Alternating layers compile to a CSLib circuit with exactly their gate count, without increasing depth.