Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce LaTeX using qpic #1290

Closed
kevinsung opened this issue Jan 10, 2019 · 5 comments
Closed

Produce LaTeX using qpic #1290

kevinsung opened this issue Jan 10, 2019 · 5 comments

Comments

@kevinsung
Copy link
Collaborator

I think the diagrams are nicer: https://github.com/qpic/qpic

@bryano
Copy link
Collaborator

bryano commented Jan 11, 2019

How important is it to produce nice-looking non-text diagrams using latex, rather than say directly rendering things using, e.g., pysvg? I'm strongly in favor of abandoning qcircuit, which is based on xypic, whose syntax is very difficult to parse without diving deeply into the reference guide. My concern is that qpic, based on tikz, won't be much better in that regard.

@Strilanc
Copy link
Contributor

I'm very much in favor of dropping qcircuit in favor of something better. Not only do qpics diagrams look better, the code looks easier to edit (because you don't have to do column-oriented editing).

I do think it's important for us to output latex, because I think it will often be the case that users will want to customize the output slightly (e.g. add a highlight box). I would also like to have the option to output svg images. Having multiple modalities will also prevent us from over-specializing the diagramming code (...hopefully).

@dabacon
Copy link
Collaborator

dabacon commented May 3, 2020

It would be useful for someone to do a deep dive into qpic and list the advantages and disadvantages versus qcircuit.

One significant advantage to qpic is that it has an open source repo https://github.com/qpic/qpic so if we run into shortcomings we could contribute upstream.

@dabacon
Copy link
Collaborator

dabacon commented May 3, 2020

Tracking this in #1492

@dabacon dabacon closed this as completed May 3, 2020
@tanujkhattar
Copy link
Collaborator

xref #5895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants