Unverified Commit 2dd235a4 authored by Mccaskey, Alex's avatar Mccaskey, Alex Committed by GitHub
Browse files

Merge pull request #475 from ausbin/feature/ibm-bidir-couplings

IBM: Make bidirectional couplings when server sends no coupling_map
parents 3e2d9064 ec9c48e2
Pipeline #158068 passed with stage
in 15 minutes and 45 seconds
......@@ -812,8 +812,7 @@ std::vector<std::pair<int, int>> IBMAccelerator::getConnectivity() {
auto nq = backend__["n_qubits"].get<int>();
for (int i = 0; i < nq; i++) {
for (int j = 0; j < nq; j++) {
if (i < j) {
// graph->addEdge(i, j);
if (i != j) {
graph.push_back({i, j});
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment