🐛 Timeout for test on MacOS when TwoQubitMultiplicity
is unordered_map
in HeuristicMapper
#276
Labels
bug
Something isn't working
mqt.qmap version
mqt.qmap==2.1.4
OS
macOS 12.6.3
Python version
No response
C++ compiler
AppleClang 14.0.0.140000
Additional environment information
No response
Description
When implementing
TwoQubitMultiplicity
in the heuristic mapper as anstd::unordered_map
instead of the current orderedstd::map
using the following custom hash function for theEdge
keys:The test
Heuristic/HeuristicTest16Q.Disjoint2qBlocks/ising_model_10
fails consistently because of a timeout in the Github CI jobC++/Tests macos-latest
(Ubuntu and Windows pass without too much difference in mapping time between both implementations)Has not yet been tested with a local macOS system.
Expected behavior
Any use of
TwoQubitMultiplicity
in the heuristic mapper should be agnostic of the specific map implementation used (apart from negligible performance differences).How to Reproduce
HeuristicMapper.hpp:21
in the source fromto
Heuristic/HeuristicTest16Q.Disjoint2qBlocks/ising_model_10
fails with a timeoutThe text was updated successfully, but these errors were encountered: