4 ms·
"Writing code for quantum computers" is not a great way to phrase it. Most day-to-day code you would write (a.k.a. business logic) will be something you still w
by krastanov 10y ago
"Writing code for quantum computers" is not a great way to phrase it. Most day-to-day code you would write (a.k.a. business logic) will be something you still write for a classical computer. The quantum part would be black-box routines you call from a library that knows how to communicate with the special-purpose quantum hardware. It will be really good at solving problems "in between P and NP", not at doing anything useful for problems that are known to be in P.
But I guess you were specifically interested in how to write those black box library routines that work on the (currently imaginary) quantum hardware you attached to your classical computer.
There are two sides to this question:
1) You are interested in the physical system (compared to having interest in electronics in the case of classical computers). Then you have to learn the physics - what wavelength of laser you shine at your ion trap; what microwave signal you send to your superconducting cavity; how to focus your laser on the NV center in your diamond crystal, etc. Regrettably, I do not have better resource for this beyond just looking at review articles in Science and Nature (it is a very young and very active research area). You will need to learn the basic physics before doing that. This book [1] is the canonical resource for that field.
2) You are interested in the computer science (compared to studying Turing Machines and designing algorithms in the case of classical computers). For this I would point to Scott Aaronson's blog, his MIT lecture notes, and his books (and papers that he has aimed at the general public).
[1]: http://www.cambridge.org/us/academic/subjects/physics/quantum-physics-quantum-information-and-quantum-computation/quantum-computation-and-quantum-information-10th-anniversary-edition http://www.cambridge.org/us/academic/subjects/physics/quantu...
P.S. My points is, quantum computers are special purpose add-ons that solve very specific problems more efficiently than classical computers. For all classically easy problems (all problems in P) solving them on a classical computer will be faster, simply because building a classical computer is so much easier.
- kirrent 10y agoTo add to the above, if you are interested in (2) then most of the content of Aaronson's book 'Quantum Computing since Democritus' is on his website as lecture notes for an old class.