def test_to_json():
dev = cirq.pasqal.PasqalDevice(
control_radius=5, qubits=[cirq.pasqal.ThreeDGridQubit(1, 1, 1)])
d = dev._json_dict_()
assert d == {
"cirq_type": "PasqalDevice",
After Change
def test_to_json():
dev = PasqalDevice(qubits=[cirq.NamedQubit("q4")])
d = dev._json_dict_()
assert d == {"cirq_type": "PasqalDevice", "qubits": [cirq.NamedQubit("q4")]}