Skip to content

Commit dd41e69

Browse files
authored
Update quantum_number_generation.py
comment line seperated because it was too long
1 parent 05c1388 commit dd41e69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/pythonLib/quantum_number_generation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
from cqc.pythonLib import CQCConnection, qubit
22

33
#####################################################################################################
4-
#In this example, we produce fresh coin/random number with using quantum logical gates. While creating quantum random generator, steps of coin analogy was used.For this 1) a new qubit was produced and this stpe similar to fishing coin 2) applied hadamard gate, this step can be equal that tossing a coin in air 3)Finally measured qubit and this is like that we can learn now the coin's result like head or tail
4+
#In this example, we produce fresh coin/random number with using quantum logical gates.
5+
# While creating quantum random generator, steps of coin analogy was used.For this
6+
# 1) a new qubit was produced and this stpe similar to fishing coin
7+
# 2) applied hadamard gate, this step can be equal that tossing a coin in air
8+
# 3)Finally measured qubit and this is like that we can learn now the coin's result like head or tail
59

610

711
def main():

0 commit comments

Comments
 (0)