Skip to content

Commit 5c45282

Browse files
authored
Fix a typo in two samples (#885)
I changed `ranndom` to `random` in both files.
1 parent 7e42b68 commit 5c45282

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

samples/algorithms/DeutschJozsa.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Sample {
1515

1616
@EntryPoint()
1717
operation Main() : (String, Bool)[] {
18-
// A Boolean function is a function that maps bits trings to a bit:
18+
// A Boolean function is a function that maps bitstrings to a bit:
1919
// 𝑓 : {0, 1}^n → {0, 1}.
2020

2121
// We say that 𝑓 is constant if 𝑓(𝑥⃗) = 𝑓(𝑦⃗) for all bitstrings 𝑥⃗ and

samples/algorithms/DeutschJozsaNISQ.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Sample {
1313

1414
@EntryPoint()
1515
operation Main() : (Result[], Result[]) {
16-
// A Boolean function is a function that maps bits trings to a bit:
16+
// A Boolean function is a function that maps bitstrings to a bit:
1717
// 𝑓 : {0, 1}^n → {0, 1}.
1818

1919
// We say that 𝑓 is constant if 𝑓(𝑥⃗) = 𝑓(𝑦⃗) for all bitstrings 𝑥⃗ and

samples/algorithms/QRNG.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/// Quantum Random Number Generator
33
///
44
/// # Description
5-
/// This program implements a quantum ranndom number generator by setting qubits
5+
/// This program implements a quantum random number generator by setting qubits
66
/// in superposition and then using the measurement results as random bits.
77
namespace Sample {
88
open Microsoft.Quantum.Convert;

samples/algorithms/QRNGNISQ.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/// Quantum Random Number Generator
33
///
44
/// # Description
5-
/// This program implements a quantum ranndom number generator by setting qubits
5+
/// This program implements a quantum random number generator by setting qubits
66
/// in superposition and then using the measurement results as random bits.
77
namespace Sample {
88
open Microsoft.Quantum.Measurement;

0 commit comments

Comments
 (0)