Often, such operations are defined using a classical function $$f:\{0,1\}^n \rightarrow\{0,1\}^m$$ which takes an $$n$$-bit binary input and produces an $$m$$-bit binary output.