Let a bit a be an Element of either 0 or 1
a∈{0,1}
Let a system be n bits represented in a String. This is also known as the state
z∈{0,1}n
A model of computation for Classical Computer and Quantum Computer
We can think of circuits as functions.
Let there be a circuit f. It accepts a Variable zin and outputs a variable zout
zout=f(zin)
Gates
What can f be?
NOT GATE
NOT(a)=1−a
NAND GATE
NAND(a,b)=1−ab
TYPICAL GATE
f(z1,z2,...)=zout