From 643c4eb517fe5baea4ce9582e2228dd2ee780793 Mon Sep 17 00:00:00 2001 From: ylin <17835344407@163.com> Date: Thu, 21 Dec 2023 15:42:42 +0800 Subject: [PATCH] fix: fix circuit import --- quafu/algorithms/gradients/vjp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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