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

Add gitignore to ignore compiled python files #2

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Add gitignore to ignore compiled python files #2

merged 1 commit into from
Jan 9, 2018

Conversation

maffoo
Copy link
Contributor

@maffoo maffoo commented Jan 9, 2018

No description provided.

@maffoo maffoo requested review from Strilanc and dabacon January 9, 2018 18:32
Copy link
Contributor

@Strilanc Strilanc left a comment

Choose a reason for hiding this comment

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

LGTM

@maffoo maffoo merged commit 0c276d5 into quantumlib:master Jan 9, 2018
@maffoo maffoo deleted the gitignore branch January 9, 2018 19:54
Strilanc added a commit that referenced this pull request Oct 2, 2018
- Change fallback representation from (gate:0, gate:1, ...) to (gate, #1, #2, ...)
- Fix qubit-symbol mismatch error saying the wrong number.
- Drop ext argument.
- Had to update contrib/qcircuit_diagram because it uses the ext argument.
- Fixed qcircuit_diagram not aligning its output to column boundaries. Looks much better now.
- Updaded GateOperation and ControlledGate to delegate to cirq.circuit_diagram_info
Strilanc added a commit that referenced this pull request Oct 4, 2018
- Change fallback representation from (gate:0, gate:1, ...) to (gate, #2, #3, ...)
- Fix qubit-symbol mismatch error saying the wrong number.
- Drop ext argument.
- Had to update contrib/qcircuit_diagram because it uses the ext argument.
- Fixed qcircuit_diagram not aligning its output to column boundaries. Looks much better now.
- Updaded GateOperation and ControlledGate to delegate to cirq.circuit_diagram_info
peterse added a commit to peterse/Cirq that referenced this pull request Jun 26, 2019
CirqBot pushed a commit that referenced this pull request Nov 11, 2019
…tes (#2524)

Before:

```
In [3]: cirq.Circuit([cirq.PhasedXPowGate(phase_exponent=0.1, exponent=0.2).on(q0), cirq.ISWAP(q0, q1)**0.3, cirq.PhasedISwapPowGate(phase_exponent=0.4, exponent=0.5).on(q0, q1)])

Out[3]: 
0: ───PhX(0.1)^0.2───iSwap───────PhasedISWAP**0.5───
                     │           │
1: ──────────────────iSwap^0.3───#2─────────────────
```

After:

```
In [3]: cirq.Circuit([cirq.PhasedXPowGate(phase_exponent=0.1, exponent=0.2).on(q0), cirq.ISWAP(q0, q1)**0.3, cirq.PhasedISwapPowGate(phase_exponent=0.4, exponent=0.5).on(q0, q1)])

Out[3]: 
0: ───PhX(0.1)^0.2───iSwap───────PhISwap(0.4)───────
                     │           │
1: ──────────────────iSwap^0.3───PhISwap(0.4)^0.5───
```
maffoo added a commit to maffoo/Cirq that referenced this pull request Oct 15, 2020
* Run autoformatter

Ran check/format-incremental --apply to format the code according to
cirq style rules.

* Revert "Run autoformatter"

This reverts commit ab9c6e0.

* Run autoformatter

Ran check/format-incremental --apply to format the code according to cirq style rules.
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