Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Dec 10, 2024
1 parent 9e00ebd commit 243620e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/source/code-examples/advancedexamples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,8 @@ using the ``pytorch`` framework.
import torch
from qibo import Circuit, gates, set_backend
from qibo.quantum_info.metrics import infidelity
set_backend(backend="qiboml", platform="pytorch")
# Optimization parameters
Expand Down

0 comments on commit 243620e

Please sign in to comment.