This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Simulators incorrectly contain coupling map for gates leading to pickling error #512
Labels
type: bug
Something isn't working
Information
What is the current behavior?
Simulators fetched from the new
IBMProvider()
contains coupling map for gates.Simulators should not have coupling map for gates. Moreover, the coupling maps are incorrect at times. For example, the
simulator_extended_stabilizer
has 2-qubitcx
gate with single-qubit coupling where as 1-qubitid
gate has multi-qubit couplings.On the other hand, simulator backends fetched using previous
IBMQ
does not have couplings for gates.The incorrect gate couplings leads to pickling error when I try to
pickle.dump()
a backend from newIBMProvider()
.Code Snippet
Error traceback
Steps to reproduce the problem
The following is a minimum working example to reproduce the error:
What is the expected behavior?
The expected behaviors are:
Suggested solutions
The source, from where the simulator backends are fetching their configurations, must be updated so that it mimics old but correct behavior for coupling map of simulator gates.
The text was updated successfully, but these errors were encountered: