Skip to content

Cannot serialize cirq_google.experimental.ops.coupler_pulse.CouplerPulse() #6440

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

Closed
aasfaw opened this issue Feb 2, 2024 · 2 comments · Fixed by #6472
Closed

Cannot serialize cirq_google.experimental.ops.coupler_pulse.CouplerPulse() #6440

aasfaw opened this issue Feb 2, 2024 · 2 comments · Fixed by #6472
Assignees
Labels
area/google/qrp Related to external worklflow support kind/bug-report Something doesn't seem to work. triage/accepted A consensus emerged that this bug report, feature request, or other action should be worked on

Comments

@aasfaw
Copy link
Contributor

aasfaw commented Feb 2, 2024

Description of the issue

Serialization isn't supported for cirq_google.experimental.CouplerPulse()

How to reproduce the issue

Run the following circuit:

this_circuit = cirq.Circuit(
              cirq_google.experimental.CouplerPulse(hold_time=hold_time, coupling_mhz = 20)(*qubits),
              cirq.measure(*qubits, key = 'thequbits')
              )
Cannot serialize op cirq_google.experimental.ops.coupler_pulse.CouplerPulse(hold_time=5, coupling_mhz=20, rise_time=cirq.Duration(nanos=8), padding_time=cirq.Duration(picos=2500.0), q0_detune_mhz=0.0, q1_detune_mhz=0.0).on(cirq.GridQubit(4, 5), cirq.GridQubit(5, 5)) of type

Cirq version
1.3.0

@aasfaw aasfaw added the kind/bug-report Something doesn't seem to work. label Feb 2, 2024
@senecameeks senecameeks added the area/google/qrp Related to external worklflow support label Feb 2, 2024
@eliottrosenberg
Copy link
Collaborator

Hold time is supposed to be a cirq.Duration, but I get the same error when I do that.

@dstrain115
Copy link
Collaborator

Nour, can you take a look at this?

@verult verult added the triage/accepted A consensus emerged that this bug report, feature request, or other action should be worked on label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/google/qrp Related to external worklflow support kind/bug-report Something doesn't seem to work. triage/accepted A consensus emerged that this bug report, feature request, or other action should be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants