You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File ~.ai-navigator\conda\envs\rivet\lib\site-packages\rivet_transpiler\transpiler.py:153, in transpile_right(central_circuit, right_circuit, backend, **key_arguments)
138 """
139 Transpile a right quantum circuit and combine it with already transpiled central circuit.
140
(...)
148 QuantumCircuit: The resulting quantum circuit.
149 """
151 # Transpile and Compose
--> 153 if backend is not None and backend.coupling_map is not None:
155 full_map = get_full_map(central_circuit)
157 key_arguments['initial_layout'] = full_map[:right_circuit.num_qubits]
AttributeError: 'IonQSimulatorBackend' object has no attribute 'coupling_map'
The text was updated successfully, but these errors were encountered:
AttributeError Traceback (most recent call last)
Cell In[188], line 15
11 for rotation_circuit in rotation_tracker:
13 measurement_circuit = rotation_circuit.measure_all(inplace=False)
---> 15 shadow_circuit = transpile_right(
16 transpiled_central_circuit,
17 measurement_circuit,
18 backend=backend,
19 seed_transpiler=SEED,
20 optimization_level=OPTIMIZATION_LEVEL)
22 shadow_circuits.append(shadow_circuit)
File ~.ai-navigator\conda\envs\rivet\lib\site-packages\rivet_transpiler\transpiler.py:153, in transpile_right(central_circuit, right_circuit, backend, **key_arguments)
138 """
139 Transpile a right quantum circuit and combine it with already transpiled central circuit.
140
(...)
148 QuantumCircuit: The resulting quantum circuit.
149 """
151 # Transpile and Compose
--> 153 if backend is not None and backend.coupling_map is not None:
155 full_map = get_full_map(central_circuit)
157 key_arguments['initial_layout'] = full_map[:right_circuit.num_qubits]
AttributeError: 'IonQSimulatorBackend' object has no attribute 'coupling_map'
The text was updated successfully, but these errors were encountered: