Qiskit / red-queen

Quantum software benchmarking tool
Apache License 2.0
18 stars 15 forks source link

Dependency error: tweedledum #50

Open hunterkemeny opened 12 months ago

hunterkemeny commented 12 months ago

When trying to run map_queko.py on M2 mac, getting this error message.

Screenshot 2023-09-27 at 11 58 20 AM

Unsure if this is a problem with my environment configuration, dependency versions, or a problem with tweedledum.

Removing tweedledum imports solved the problem, but also obviously removes tweedledum functionality.

mtreinish commented 12 months ago

You must be on macOS with an arm64 cpu. tweedledum doesn't really support macOS anymore and especially on arm64 macs the published packages are just broken. See: https://github.com/boschmitt/tweedledum/issues/179, https://github.com/boschmitt/tweedledum/issues/159, https://github.com/boschmitt/tweedledum/issues/174, and https://github.com/Qiskit/qiskit/pull/8738 for more details.

I'd say just remove it. At this point we should just remove it, as the use of tweedledum there is only for comparisons to qiskit in the mapping benchmarks. It's not critical to the tool, if we want to compare tweedledum's performance again in the future we can always re-investigate adding it back.