From 728f5bcbd4a3657758c2b4ec15f74f531338af6f Mon Sep 17 00:00:00 2001 From: Charles MOUSSA Date: Mon, 25 Nov 2024 15:47:31 +0100 Subject: [PATCH] rm run in docstr --- qadence/operations/ham_evo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/qadence/operations/ham_evo.py b/qadence/operations/ham_evo.py index 081d9797..5f0c3e11 100644 --- a/qadence/operations/ham_evo.py +++ b/qadence/operations/ham_evo.py @@ -64,7 +64,6 @@ class HamEvo(TimeEvolutionBlock): from qadence import X, HamEvo, PI, add, run from qadence import FeatureParameter, TimeParameter import torch - from pyqtorch.utils import SolverType n_qubits = 3 @@ -87,8 +86,6 @@ class HamEvo(TimeEvolutionBlock): # Adding noise operators noise_ops = [torch.eye(2**n_qubits, dtype=torch.complex128)] hevo = HamEvo(hamiltonian, parameter=t, noise_operators=noise_ops) - config = {"ode_solver": SolverType.DP5_ME, "n_steps_hevo": 100} - densitymat = run(hevo, values = {"duration": torch.tensor(1.0)}) ``` """