Skip to content

Conversation

@Strilanc
Copy link
Contributor

@Strilanc Strilanc commented Apr 11, 2018

Comes after #293

Example rendered output:

image

- Find all places where docs/code says "ASCII" and replace it with "text" as appropriate
- Split to_text_diagram_drawer out of circuit.to_text_diagram
- Rename ascii_wire_symbols to text_diagram_wire_symbols
- Rename ascii_exponent to text_diagram_exponent
- Add optional qubit_count argument to text_diagram_wire_symbols
- Add optional use_unicode_characters argument to text_diagram_wire_symbols
- Remove unused XmonQubit try_parse_from_text method
@Strilanc Strilanc requested a review from maffoo April 11, 2018 02:23
@dabacon
Copy link
Collaborator

dabacon commented Apr 16, 2018

Nice

@Strilanc Strilanc changed the base branch from qcircuit to master April 16, 2018 20:28
for moment in circuit.moments)


def circuit_to_latex_using_qcircuit(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might just do circuit_to_latex. If we want to support something other than qcircuit we could pass some sort of type in to this to distiguish

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also think that could be nice; but I'll wait until we have other supported formats before amalgamating.

@Strilanc Strilanc merged commit a6aea62 into master Apr 16, 2018
@Strilanc Strilanc deleted the qcircuit2 branch April 16, 2018 22:02
@dabacon
Copy link
Collaborator

dabacon commented Apr 16, 2018 via email

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

Successfully merging this pull request may close these issues.

2 participants