-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area/serializationkind/bug-reportSomething doesn't seem to work.Something doesn't seem to work.priority/p2Next release should contain itNext release should contain ittriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Description
Description of the issue
Cannot serialize identity gate when using SQRT_ISWAP_GATESET.
How to reproduce the issue
sampler = engine.get_sampler(processor_id='...', gate_set=cg.SQRT_ISWAP_GATESET)
q = cirq.GridQubit(7, 4)
c = cirq.Circuit(cirq.I(q))
r = sampler.run(c, repetitions=1)
...
ValueError: Cannot serialize op cirq.I(cirq.GridQubit(7, 4)) of type <class 'cirq.ops.identity.IdentityGate'>
Cirq version
0.14.0.dev20211210220312
Metadata
Metadata
Assignees
Labels
area/serializationkind/bug-reportSomething doesn't seem to work.Something doesn't seem to work.priority/p2Next release should contain itNext release should contain ittriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on