Aaron brought up a number of issues that would be good to fix in the 
current branch for expanding the sympy quantum circuit parser. This work is 
going on in a branch called 
qasm_parser<https://github.com/rpmuller/sympy/tree/qasm_parser>, 
if anyone wants to monitor what I'm doing.

I'm posting the overall goals of what I'm doing in case anyone cares to 
offer any feedback. I'll also use this as a way of collecting links to the 
various mailing list and github merge page discussions that are relevant to 
the next steps.

1. Get basic qasm parser functionality working:

Done. The Sympy Quantum Circuit Plotting<http://nbviewer.ipython.org/5843312> 
notebook 
has been updated to reflect some basic functionality (examples 1 & 3).


2.  Use metaprogramming to allow gates to be defined on the fly.

Not yet done. Aaron posted some good starting 
code<https://groups.google.com/d/msg/sympy/A4NGU_AzSKc/Pxu9k5o9mG4J>in an 
earlier thread. This might also depend on some of the advanced latex 
processing capabilities, below.


3. Expand basic latex rendering capabilities. Also decide whether I want to 
do *everything* this way, or whether I should use mpl's latex parsing for 
the simple stuff.

Not done yet. Aaron has relevant comments 
here<https://github.com/sympy/sympy/pull/2325#issuecomment-21596043>and 
here <https://github.com/sympy/sympy/pull/2325#issuecomment-21596170> in an 
earlier merge thread.


4. Decide whether the resizing 
behavior<https://github.com/sympy/sympy/pull/2325#issuecomment-21640752>that 
Aaron also noted in an earlier thread merits repair at this point. 

Since the existing functionality is rapidly approaching "usable", I may 
first see which of these I can knock off quickly, submit a pull request for 
those, and then mull over what remains.

Feedback welcome.

Rick

-- 
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.


Reply via email to