On Mon, Jul 15, 2013 at 9:28 AM, Rick Muller <[email protected]> wrote: > Good Introductory Books/Articles > ======================== > Yeah, that's the definitive book. It's known as the "Mike & Ike" book, > Quantum Computation and Quantum Information, by Nielsen and Chuang. It's not > exactly introductory, but I wouldn't imagine that anyone making > contributions to Sympy would have a hard time with it. It's long, and it's > expensive, but it's by far the best single volume on QIS. I own 3 copies of > it. > > Nearly as good are John Preskill's lecture notes on quantum computing. These > aren't quite as easy to follow, but they're free. > > Some guys from a national lab that Ondrej may have heard of published a > pretty good introduction 10 years ago here. > > I can expand the notes on the wiki. Remind me if I forget. > > Qasm2circ > ========= > I've looked through the python converter on Chuang's page. It does some of > what we want, but I think it's easier to just implement this ourselves. I > don't think qasm is well defined enough to use as an intermediate graph > format, and it has other things in it that aren't necessarily relevant, at > least in the way I'm doing things now, like the \nop operator. > > I could be wrong on this, though. Maybe we should revisit this once the > initial qasm parser is done.
I think it would be better to use some kind of SymPy expression tree as an intermediate format. Assumedly one just has to tweak the existing quantum expression tree here and there with some special classes or subclasses. Aaron Meurer > > On Sunday, July 14, 2013 10:16:19 PM UTC-6, Aaron Meurer wrote: >> >> On Sun, Jul 14, 2013 at 9:47 PM, Ondřej Čertík <[email protected]> >> wrote: >> > Cool! >> > >> > What is some good introductory book, so that I can understand more >> > details? I read the intro (free) chapter from: >> > >> > http://www.squint.org/qci/ >> >> That's the book that was recommended to me by someone (I think it may >> have been Brian). I read the first few chapters. It was awhile ago, >> but I remember that at the time I could understand enough of the basic >> idea to understand what was going on in these circuits. >> >> Aaron Meurer >> >> > >> > but that's not enough. Do you think that's a good book, or is there >> > some other good resource to learn more about the quantum computing? >> > Ideally we should have some basic intro on this page somewhere: >> > >> > >> > http://docs.sympy.org/0.7.3/modules/physics/quantum/index.html#quantum-computation >> > >> > I only understand the basic idea, that you have some quantum state >> > like alpha*|0>+beta*|1> and then you apply 2x2 matrices (gates) that >> > transform it. But it's not quite clear to me how the circuits work and >> > how it could be used. >> > >> > My next question is whether what you want is just implemented by this >> > library: >> > >> > http://www.media.mit.edu/quanta/qasm2circ/ >> > >> > Or whether your idea is to integrate it more with the quantum >> > framework in sympy. For example, should we use the "qasm" as an >> > intermediate representation for the graph? >> > >> > Ondrej >> > >> > On Sun, Jul 14, 2013 at 8:22 PM, Rick Muller <[email protected]> wrote: >> >> Okay, the first round of this is done, and I updated the IPython >> >> notebook >> >> at: >> >> http://nbviewer.ipython.org/5843312 >> >> It now doubles the circuit wires once a wire has been measured. Have to >> >> now >> >> do all the control wires hanging off this doubled. But I'll do this >> >> tomorrow. >> >> >> >> On Sunday, July 14, 2013 5:52:46 PM UTC-6, Rick Muller wrote: >> >>> >> >>> >> >>> >> >>> On Sunday, July 14, 2013 5:49:45 PM UTC-6, Aaron Meurer wrote: >> >>>> >> >>>> >> >>>> Aaron (although I am currently in Austin). >> >>> >> >>> >> >>> Sorry 'bout that. Some days all the A's run together. >> >>>> >> >>>> >> >>>> It would also probably be nice to write a function that can convert a >> >>>> qasm file to a SymPy quantum object. >> >>>> >> >>> >> >>> In the works, although I'm not going to do much work on it until I >> >>> finish >> >>> the drawing stuff. Quantum circuits are just much too hard to print >> >>> out >> >>> right now. >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "sympy" group. >> >> To unsubscribe from this group and stop receiving emails from it, send >> >> an >> >> email to [email protected]. >> >> To post to this group, send email to [email protected]. >> >> Visit this group at http://groups.google.com/group/sympy. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "sympy" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an email to [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at http://groups.google.com/group/sympy. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
