Ready-to-use examples of the Wolfram Language
Construct a multiplexer circuit, also called a uniformly controlled gate