From a91865af3c29f56d88d62c09246ce98f5f9522a5 Mon Sep 17 00:00:00 2001 From: Mark Koch Date: Fri, 19 Jan 2024 15:56:27 +0000 Subject: [PATCH] Update readme example --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ecdadb81..8e61ebf8 100644 --- a/README.md +++ b/README.md @@ -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`."""