From 534d357a2d1165f5c9dad8965d29060751480954 Mon Sep 17 00:00:00 2001 From: Zhaoyilunnn Date: Tue, 23 Apr 2024 17:20:53 +0800 Subject: [PATCH] docs: update send api tutorial --- doc/source/tutorial.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index 6d76edd..121351a 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -253,7 +253,9 @@ means that you need use the ``retrieve`` method to fetch results when task is do .. code:: python - res = task.send(qc, wait=True) + res = task.send(qc) + # After task is done, you could fetch results as below + res = task.retrieve() You can use the returned results to check the count and probability of each measured bit string. The output bits are arranged in **big-endian**