There is no other way to do this, in this case they're maintaining information about the quantum properties of the beam (entanglement, etc.), which get destroyed if you convert it to electricity. When talking about quantum cryptography or, in general, quantum computing (as in "computations that are performed using the fundamental quantum interactions between particles"), the particular photons are indeed very important :)