How a Quantum Computer Works