diff --git a/quafu/algorithms/gradients/vjp.py b/quafu/algorithms/gradients/vjp.py index fd7d6bf..aa314e1 100644 --- a/quafu/algorithms/gradients/vjp.py +++ b/quafu/algorithms/gradients/vjp.py @@ -15,9 +15,9 @@ from typing import List, Optional import numpy as np -from quafu.algorithms import Hamiltonian from quafu.algorithms.estimator import Estimator from quafu.algorithms.gradients import ParamShift +from quafu.algorithms.hamiltonian import Hamiltonian from quafu import QuantumCircuit