Skip to content

Commit

Permalink
Remove stale comment from json_serialization_test.py (#5494)
Browse files Browse the repository at this point in the history
#2014 has been fixed and the following code snippet now works as expected.  

```python
>>> import cirq, sympy
>>> circuit = cirq.Circuit(cirq.rx(sympy.Symbol('theta')).on(cirq.NamedQubit("q")))
>>> cirq.testing.assert_json_roundtrip_works(circuit) # works.
```
  • Loading branch information
tanujkhattar authored Jun 13, 2022
1 parent 39795e1 commit c313868
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cirq-core/cirq/protocols/json_serialization_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,6 @@ def test_fail_to_resolve():
QUBITS = cirq.LineQubit.range(5)
Q0, Q1, Q2, Q3, Q4 = QUBITS

# TODO: Include cirq.rx in the Circuit test case file.
# Github issue: https://github.com/quantumlib/Cirq/issues/2014
# Note that even the following doesn't work because theta gets
# multiplied by 1/pi:
# cirq.Circuit(cirq.rx(sympy.Symbol('theta')).on(Q0)),

### MODULE CONSISTENCY tests


Expand Down

0 comments on commit c313868

Please sign in to comment.