diff --git a/pyproject.toml b/pyproject.toml index aab7e195..ace0a895 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ dynamic = ["version"] dependencies = [ "mqt.core>=3.8.0", + "mqt.ddsim>=2.6.0", "qiskit>=2.0.3", "qiskit_aer>=0.16.4; python_version < '3.14'", "numpy>=1.24", diff --git a/src/mqt/problemsolver/csp.py b/src/mqt/problemsolver/csp.py index aa1f174d..90d863fc 100644 --- a/src/mqt/problemsolver/csp.py +++ b/src/mqt/problemsolver/csp.py @@ -12,7 +12,7 @@ import numpy as np from mqt.core import load -from mqt.core.dd import sample +from mqt.ddsim import sample from qiskit import QuantumCircuit, QuantumRegister if TYPE_CHECKING: diff --git a/src/mqt/problemsolver/tsp.py b/src/mqt/problemsolver/tsp.py index bab6ccf6..58997ae3 100644 --- a/src/mqt/problemsolver/tsp.py +++ b/src/mqt/problemsolver/tsp.py @@ -15,7 +15,7 @@ import networkx as nx import numpy as np from mqt.core import load -from mqt.core.dd import sample +from mqt.ddsim import sample from python_tsp.exact import solve_tsp_dynamic_programming from qiskit import ClassicalRegister, QuantumCircuit, QuantumRegister from qiskit.synthesis.qft import synth_qft_full