Skip to content

Commit

Permalink
Add comment for single-qubit prediction bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ectras committed Mar 25, 2024
1 parent d29976a commit 93dceb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resource_estimation/device/predict_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ def predict_device(
cicuit: QuantumCircuit, available_devices: list[str] | None = None
) -> str | None:
"""Predicts the device for a given circuit.
FIXME: Doesn't work with single-qubit circuits. This if fixed with mqt-bench
v1.1.0 which is however incompatible with the most recent mqt-predictor (v2.0.0).
Args:
cicuit (QuantumCircuit): The circuit to predict the device for.
Expand Down

0 comments on commit 93dceb6

Please sign in to comment.