# How to get the CNOT error rate between 2 qubits on a given IBMQ Backend?

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

## Related Questions

### Kernel stopping when solving water molecule ground state

1  Asked on June 25, 2021

### Set the bounds for ansatz parameters in VQE

1  Asked on June 25, 2021 by antonio-anna-mele

### How to read a Q sphere representation?

1  Asked on June 24, 2021

### In classical state discrimination, why does the trace distance quantify the probability of success?

1  Asked on June 24, 2021

### Which codes can implement transversal non-Clifford gates

0  Asked on June 24, 2021

### Nielsen & Chuang Exercise 2.32: Show that the tensor product of two projectors is a projector

1  Asked on June 24, 2021

### Why do I get the error name operator is not defined?

1  Asked on June 24, 2021

### Do pure qudit states lie on a hypersphere in the Bloch representation?

1  Asked on June 23, 2021

### How to construct a Hamiltonian for an ensemble of atoms interacting with each other?

1  Asked on June 23, 2021 by thapanio

### Can I switch $alpha_0$ and $alpha_1$ conditionally to $alpha_0>0$ in a state $alpha_0|0rangle+alpha_1|1rangle$?

2  Asked on June 22, 2021

### What do the off-diagonal elements of a density matrix physically represent?

3  Asked on June 22, 2021 by knightshuffler

### Qiskit Tomography and Noise Mitigation with a Measurement Mid-Execution

0  Asked on June 22, 2021 by negativeone

### Calculating length of code words in quantum information(compression)

0  Asked on June 21, 2021

### What is this equation for coin operator is trying to do in this quantum walk for Non-regular graph? This coin operator is called Fourier coin

1  Asked on June 21, 2021

### Why is the subscript like this in the equation $sum_i |psi_irangle langlepsi_i| = sum_{ijk} u_{ij} u_{ik}^{*}|phi_jrangle langlephi_k|$?

1  Asked on June 20, 2021 by omar-hossam-ahmed

### How do you decompose an arbitrary quantum state into its corresponding projection subspaces such that their direct sum is the quantum state?

1  Asked on June 20, 2021 by sam-michael

### Solving Poisson’s equation with Quantum Fourier Transform

0  Asked on June 20, 2021 by dima-rodionov

### Can I see Probability in complex form after measuring the state of the qubit on quantum computer?

1  Asked on June 20, 2021

### Is there a nice characterisation for the set of extensions of a given state?

0  Asked on June 19, 2021

### Qiskit: Error when importing libraries for ADMM optimizer

1  Asked on June 18, 2021

Get help from others!