Circuits side by side #
Circuit.pi cs runs the single-output circuits cs j on the same inputs and lists their outputs
(Circuit.eval_pi); its size is the sum of their sizes (Circuit.size_pi) and its depth the
largest of their depths (Circuit.depth_pi_le), also with costs (Circuit.depthWith_pi_le).
Main definitions #
Cslib.Circuits.Circuit.pi: single-output circuits side by side.Cslib.Circuits.Circuit.oneGate: the circuit of one gate on inputs.
Main results #
Cslib.Circuits.Circuit.eval_pi,Cslib.Circuits.Circuit.size_pi,Cslib.Circuits.Circuit.depth_pi_le: the function, size and depth of circuits side by side.Cslib.Circuits.Circuit.depth_oneGate: one gate has depth one.Cslib.Circuits.Circuit.depthWith_pi_le,Cslib.Circuits.Circuit.depthWith_oneGate: the same for depths with costs.