The second round is now done: controlled wires now successfully double after measurement.
Everything that I wanted to get working in the example page now works: http://nbviewer.ipython.org/5843312 Now that we have working measurement, I think the circuit plotting is now officially "useful". I may just submit a PR for these changes, without tackling the stacked gates or the qasm interpreter at this stage. Thoughts on this? I realize the circuits don't render perfectly, but I wanted to get the basic functionality working before tweaking it. On Sunday, July 14, 2013 8:22:15 PM UTC-6, Rick Muller 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.
