When classical computers are just too boring.
Computers, theoretically, have two things: states (like the memory of the computer) and computations (moving from one state to another, like the CPU).
State
As said before, a Qubit in state is the quantum mechanics analog of a bit. It is often represented by spin-1/2 particles. It's In the Hilbert Space .
Let there be qubits. It's a Span of all basis states
The state is a superposition over all basis strings. are all probability amplitudes. See Composite System for how to deal with multiple qunatum systems.
Computation
Computation is a unitary operator applied to the input state
In computers, we measure basis collapses the output and returns a bit string with probability given by the Born Rule
We use Interference makes wrong answers destructively cancel and right ones add up.
We use entanglement to create correlations that classical registers can't hold.
Gates
What can unitary operator be?
One qubit gates
Two qubit gates