Skip to content

Commit ffdb3de

Browse files
committed
mark MSGate as not_yet_serializable
1 parent 761c1d8 commit ffdb3de

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

cirq-core/cirq/json_resolver_cache.py

-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ def _symmetricalqidpair(qids):
157157
'LineTopology': cirq.LineTopology,
158158
'Linspace': cirq.Linspace,
159159
'ListSweep': cirq.ListSweep,
160-
'MSGate': cirq.MSGate,
161160
'MatrixGate': cirq.MatrixGate,
162161
'MixedUnitaryChannel': cirq.MixedUnitaryChannel,
163162
'MeasurementKey': cirq.MeasurementKey,

cirq-core/cirq/protocols/json_test_data/MSGate.json

-4
This file was deleted.

cirq-core/cirq/protocols/json_test_data/MSGate.repr

-1
This file was deleted.

cirq-core/cirq/protocols/json_test_data/spec.py

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
'KakDecomposition',
4040
'LinearCombinationOfGates',
4141
'LinearCombinationOfOperations',
42+
'MSGate', # namespace conflict with `cirq_ionq.ionq_native_gates.MSGate`
4243
'PauliSumCollector',
4344
'PauliSumExponential',
4445
'PeriodicValue',

0 commit comments

Comments
 (0)