Comments from Alexandre Castellane

This commit is contained in:
Rebecca Dimock 2024-09-23 09:55:40 -05:00
parent be34def0b2
commit 1ec0be138b
1 changed files with 5 additions and 3 deletions

View File

@ -495,15 +495,17 @@ import requests
import qiskit_ibm_runtime
# Imports from Qiskit Runtime
from qiskit_ibm_runtime import QiskitRuntimeService
from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager
from qiskit.qasm3 import dumps
from qiskit import QuantumCircuit
from qiskit.circuit import Parameter
from qiskit import transpile, assemble, qasm3
from qiskit.converters import circuit_to_dag, dag_to_circuit
from qiskit.quantum_info import Statevector
from qiskit import transpile
service = QiskitRuntimeService(channel='ibm_quantum')
backend = service.backend("your selected backend")
pm = generate_preset_pass_manager(backend=backend, optimization_level=1)
theta = Parameter('theta')
phi = Parameter('phi')