Skip to content

Circuit with parametrized delay gate doesn't execute on backend #12974

@przemekk125

Description

@przemekk125

Environment

  • Qiskit version: 1.1.2
  • Python version: 3.10.7
  • Operating system: Windows 11

What is happening?

A simple circuit with 1 delay gate on single qbit on ibm_brisbane backend when executed gives Internal error 1500. Similar issue poped up (#11010), but this solution doesn't work.
error_screenshot

How can we reproduce the issue?

from qiskit.quantum_info import Pauli
import numpy as np
from qiskit import QuantumCircuit
from qiskit.circuit import Parameter
from qiskit_ibm_runtime import EstimatorV2 as Estimator
from qiskit_ibm_runtime import QiskitRuntimeService
from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager

backend_name = "ibm_brisbane"

qbit_num = 28

t_vals = np.linspace(0,100,20)
t = Parameter("time")

observables = Pauli("X")


circuit = QuantumCircuit(1)
circuit.delay(t,0,unit="us")


backend = QiskitRuntimeService().backend(name=backend_name)
pass_manager = generate_preset_pass_manager(1,backend=backend,initial_layout=[qbit_num])
pass_manager.scheduling = None

echo_transpiled = pass_manager.run(circuits=circuit)
observables_transpiled = observables.apply_layout(echo_transpiled.layout)
pub = (echo_transpiled,observables_transpiled,t_vals)


estimator = Estimator(mode=backend)

job = estimator.run([pub])

What should happen?

Circuit should be executed on ibm_brisbane backend

Any suggestions?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions