Skip to content

Commit c6adae8

Browse files
authored
typo QFT demo (#1346)
Fixing a typo reported by Amintor
1 parent f5ec839 commit c6adae8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demonstrations/tutorial_qft.metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77
],
88
"dateOfPublication": "2024-04-16T00:00:00+00:00",
9-
"dateOfLastModification": "2024-11-18T00:00:00+00:00",
9+
"dateOfLastModification": "2025-04-10T00:00:00+00:00",
1010
"categories": [
1111
"Algorithms",
1212
"Quantum Computing"

demonstrations/tutorial_qft.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def circuit():
168168
# This value corresponds to an approximation of :math:`2^nf` where :math:`f` is the frequency and :math:`n` is the
169169
# number of qubits.
170170
# Once we know the frequency, we invert it to obtain the period :math:`T` of our state.
171-
# In this case, the period is :math:`T = 2^5 / 3 \sim 10.33,` close to the real value of :math:`10.`
171+
# In this case, the period is :math:`T = 2^5 / 3 \sim 10.66,` close to the real value of :math:`10.`
172172
#
173173
# Conclusion
174174
# ----------

0 commit comments

Comments
 (0)