Not exactly a circuit, but a coworker once wrote a recursive macro in VHDL that would generate a unanimous vote detector (an N-input AND gate) from a cascade of 2-input AND gates.
How is this not a circuit? Those AND gates will be built out of multiple transistors that require VCC and GND and current etc. It's absolutely a circuit.