I've been studying quantum computers and while it's apparent to me how electrons are used as qubits, through their spin number, it's not as clear what makes a photon a viable candidate to be used as a qubit. I understand how entanglement between qubits works, and how quantum gates work (though I...