Skip to content

Commit

Permalink
rm run in docstr
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles MOUSSA committed Nov 25, 2024
1 parent aa4e12a commit 728f5bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qadence/operations/ham_evo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)})
```
"""

Expand Down

0 comments on commit 728f5bc

Please sign in to comment.