Output distributions of circuits #
A circuit with n inputs and m outputs is a sampler: evaluated on uniformly random inputs, it
produces a distribution on BitString m, its output distribution (Circuit.outputDist). This is
how circuits encode distributions in the Statistical Difference problem [SahaiVadhan2003, §2.2 and
§3.1]. Running the circuit on the outputs of another samples the image of the first output
distribution (Circuit.outputDist_comp), and k independent copies on disjoint input blocks sample
k independent outputs, laid out in consecutive blocks (Circuit.outputDist_replicate).
Main definitions #
Cslib.Circuits.Circuit.outputDist: the output distribution of a circuit on uniform inputs.
Main results #
Cslib.Circuits.Circuit.outputDist_comp: composition maps the output distribution.Cslib.Circuits.Circuit.outputDist_replicate: independent copies sample independent outputs.
References #
The output distribution of a circuit: its outputs on a uniformly random input.
Running C on the outputs of D samples the image of the output distribution of D under
C.
Independent copies of a circuit sample independent copies of its output, with the k
outputs in consecutive blocks (Cslib.BitString.blocksEquiv).