Skip to content

Commit c313868

Browse files
authored
Remove stale comment from json_serialization_test.py (#5494)
#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. ```
1 parent 39795e1 commit c313868

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cirq-core/cirq/protocols/json_serialization_test.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,6 @@ def test_fail_to_resolve():
265265
QUBITS = cirq.LineQubit.range(5)
266266
Q0, Q1, Q2, Q3, Q4 = QUBITS
267267

268-
# TODO: Include cirq.rx in the Circuit test case file.
269-
# Github issue: https://github.com/quantumlib/Cirq/issues/2014
270-
# Note that even the following doesn't work because theta gets
271-
# multiplied by 1/pi:
272-
# cirq.Circuit(cirq.rx(sympy.Symbol('theta')).on(Q0)),
273-
274268
### MODULE CONSISTENCY tests
275269

276270

0 commit comments

Comments
 (0)