Quantum Computing Asked by MShakeG on September 26, 2020
How can the CNOT
gate error between 2 qubits as shown on visual qubit coupling map on the IBMQ Dashboard be retrieved in Qiskit using the BackendProperties.gate_error method ?
I have been able to retrieve the U2
error rates as follows:
properties = backend.properties()
properties.gate_error('u2', 0) # u2 error rate for qubit-0
You can type the following:
provider = IBMQ.get_provider(hub='YOUR-HUB-NAME', group='YOUR-GROUP-NAME', project='YOUR-PROJECT_NAME')
provider.backends.backend
You should see an interactive widget with 5 tabs. Under the Multi-Qubit Gates tab, you can see the CNOT error rate between any two connected qubits on that given backend.
If you don't see the widget, import qiskit.tools.jupyter and then try to run the commands again.
Correct answer by Winona on September 26, 2020
Try this:
provider = IBMQ.get_provider(hub='YOUR-HUB-NAME', group='YOUR-GROUP-NAME', project='YOUR-PROJECT_NAME')
backend = provider.get_backend('ibmq_**your_device**')
for gate_i in hardware_backend.properties().gates:
print("{} gate on qubits {} error rate is {}{}".format(gate_i.name, gate_i.qubits, gate_i.parameters[0].value, gate_i.parameters[0].unit))
It should print out the list that you got from the Widget.
Answered by KAJ226 on September 26, 2020
1 Asked on June 25, 2021
1 Asked on June 25, 2021 by antonio-anna-mele
1 Asked on June 24, 2021
bloch sphere ibm q experience qiskit quantum state superposition
1 Asked on June 24, 2021
information theory state discrimination textbook and exercises
0 Asked on June 24, 2021
1 Asked on June 24, 2021
1 Asked on June 23, 2021
1 Asked on June 23, 2021 by thapanio
2 Asked on June 22, 2021
3 Asked on June 22, 2021 by knightshuffler
0 Asked on June 22, 2021 by negativeone
0 Asked on June 21, 2021
1 Asked on June 21, 2021
1 Asked on June 20, 2021 by omar-hossam-ahmed
1 Asked on June 20, 2021 by sam-michael
linear algebra mathematics quantum state textbook and exercises
0 Asked on June 20, 2021 by dima-rodionov
1 Asked on June 20, 2021
0 Asked on June 19, 2021
1 Asked on June 18, 2021
Get help from others!
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir