diff --git a/app/circuit_cutter.py b/app/circuit_cutter.py index 54f77ba..09be47b 100644 --- a/app/circuit_cutter.py +++ b/app/circuit_cutter.py @@ -2,12 +2,12 @@ import pickle import jsonpickle -from circuit_knitting_toolbox.circuit_cutting.wire_cutting import ( +from circuit_knitting.cutting.cutqc import ( + generate_summation_terms, cut_circuit_wires, reconstruct_full_distribution, - generate_summation_terms, ) -from circuit_knitting_toolbox.circuit_cutting.wire_cutting.wire_cutting_evaluation import ( +from circuit_knitting.cutting.cutqc.wire_cutting_evaluation import ( modify_subcircuit_instance, mutate_measurement_basis, measure_prob, diff --git a/requirements.txt b/requirements.txt index b4c2a0f..a6d40ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ Flask==2.1.2 Flask-RESTful==0.3.9 -qiskit==0.39.2 +qiskit==0.43.0 requests==2.28.0 urllib3==1.26.9 Werkzeug==2.1.2 @@ -9,7 +9,7 @@ black==21.8b0 click==8.0.1 marshmallow==3.13.0 coverage==5.5 -circuit-knitting-toolbox==0.0.0 +circuit-knitting-toolbox==0.4.0 numpy~=1.23.5 argschema~=3.0.4 jsonpickle~=3.0.0 diff --git a/test/test_reconstruction.py b/test/test_reconstruction.py index 29d23a2..319a564 100644 --- a/test/test_reconstruction.py +++ b/test/test_reconstruction.py @@ -5,12 +5,12 @@ import jsonpickle import numpy as np -from circuit_knitting_toolbox.circuit_cutting.wire_cutting import ( +from circuit_knitting.cutting.cutqc import ( cut_circuit_wires, evaluate_subcircuits, reconstruct_full_distribution, ) -from circuit_knitting_toolbox.circuit_cutting.wire_cutting.wire_cutting_evaluation import ( +from circuit_knitting.cutting.cutqc.wire_cutting_evaluation import ( run_subcircuits, ) from qiskit import QuantumCircuit, assemble, transpile