Skip to content

Commit

Permalink
⬆️ Bump extern/qfr from 94257ff to 5ae2f78 (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jan 13, 2023
2 parents 3a78710 + 9a80fc4 commit d12f182
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extern/qfr
Submodule qfr updated from 94257f to 5ae2f7
5 changes: 4 additions & 1 deletion src/heuristic/HeuristicMapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,11 @@ void HeuristicMapper::map(const Configuration& configuration) {
++loc;
}
locations.at(target) = static_cast<std::int16_t>(loc);
qubits.at(loc) = static_cast<std::int16_t>(target);
op->setTargets({static_cast<qc::Qubit>(loc)});
qcMapped.initialLayout.at(target) = loc;
qcMapped.initialLayout.at(target) = loc;
qcMapped.outputPermutation[static_cast<qc::Qubit>(loc)] = target;
qcMapped.garbage.at(loc) = false;
} else {
op->setTargets({static_cast<qc::Qubit>(targetLocation)});
}
Expand Down

0 comments on commit d12f182

Please sign in to comment.