Skip to content

Commit

Permalink
Update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch committed Jan 19, 2024
1 parent 95d11ba commit a91865a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ It allows you to write high-level hybrid quantum programs with classical control
```python
from guppylang import guppy, Qubit

import guppylang.prelude.quantum as quantum
guppy.load(quantum)

@guppy
def teleport(src: Qubit, tgt: Qubit) -> Qubit:
"""Teleports the state in `src` to `tgt`."""
Expand Down

0 comments on commit a91865a

Please sign in to comment.