-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for backends with defective qubits and gates #4110
Support for backends with defective qubits and gates #4110
Conversation
…e_qubits_and_gates
…e_qubits_and_gates
…e_qubits_and_gates
…e_qubits_and_gates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good except location of two methods
qiskit/providers/basebackend.py
Outdated
@@ -62,6 +62,30 @@ def configuration(self): | |||
""" | |||
return self._configuration | |||
|
|||
def faulty_qubits(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not be a method of base backend. it should be in qiskit/providers/models/backendproperties.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved in db52ca4
qiskit/providers/basebackend.py
Outdated
faulty.append(qubit) | ||
return faulty | ||
|
||
def faulty_gates(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved in db52ca4
…4110)" This commit reverts Qiskit#4110 which has introduced several issues with transpilation in parallel. It's causing hangs for characterization circuit transpilation in ignis which is breaking ignis CI. It also straight up breaks parallel transpilation with the ibmq provider, see Qiskit/qiskit-ibmq-provider#712. The fundamental cause seems to be that Qiskit#4110 added new arguments to the parallel_map call inside transpile which uses types which are not guaranteed to pickleable or hang while trying to pickle them. This breaks transpile >1 input circuit with these backends. This wasn't caught in tests because we don't directly test these backends because they're outside of terra. This reverts commit 41cf87c.
…#4723) This commit reverts #4110 which has introduced several issues with transpilation in parallel. It's causing hangs for characterization circuit transpilation in ignis which is breaking ignis CI. It also straight up breaks parallel transpilation with the ibmq provider, see Qiskit/qiskit-ibmq-provider#712. The fundamental cause seems to be that #4110 added new arguments to the parallel_map call inside transpile which uses types which are not guaranteed to pickleable or hang while trying to pickle them. This breaks transpile >1 input circuit with these backends. This wasn't caught in tests because we don't directly test these backends because they're outside of terra. This reverts commit 41cf87c.
Like #4083 but assuming the functional coupling map is connected.
This approach is simpler, so the only pending here deceside a coupling map when is disconnected.(feature added in 232e1b8)Example:
Consider the following coupling map, were
Q1
is non-operational:The functional coupling map in this situation is only
3 ↔ 4
.