Skip to content

Commit

Permalink
Merge pull request #1539 from qiboteam/fic_doc
Browse files Browse the repository at this point in the history
Fix import in Advanced Examples
  • Loading branch information
renatomello authored Dec 10, 2024
2 parents 1afd96d + 20576cc commit 15fbaf9
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 15fbaf9

Please sign in to comment.