2
$\begingroup$

I am working on adding a new provider to Qiskit, and I have to specify the properties of the backend. What is "gate length" (in ns) referring to?

$\endgroup$
1
  • 1
    $\begingroup$ It's the time needed to execute a certain gate. $\endgroup$
    – KAJ226
    Sep 16, 2021 at 14:51

1 Answer 1

3
$\begingroup$

This is the same as Gate time or the time needed to execute that certain gate.

If you look at the calibration data description of a specific device through the IBMQ website, and you will see that there is an option to see the CNOT gate time. For example, if you select your backend to be ibmq_santiago then you can see something like: enter image description here

Note the $CNOT_{q0,q1}$ gate has the Gate time of 526 ns. And now if you extract the gate length from backendproperties of this gate, you get the same number. That is, if you run the following script:

from qiskit import IBMQ
provider = IBMQ.load_account()
backend = provider.get_backend('ibmq_santiago')
print(backend.properties().gates[26].name)
print(backend.properties().gates[26].parameters[1]  )

you get:

'cx0_1'
Nduv(datetime.datetime(2021, 9, 13, 7, 30, 48, tzinfo=tzlocal()), gate_length, ns, 526.2222222222222)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.