Skip to content

Commit 483aafa

Browse files
committed
docs(QuantumBitGenerator): update docstring
1 parent 560b581 commit 483aafa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

qrand/quantum_bit_generator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def random_bitstring(self, num_bits: Optional[int] = None) -> str:
188188
Parameters
189189
----------
190190
num_bits: int, optional
191-
Number of bits to retrieve. If less than one it defaults to the raw
192-
number of BITS for the instance QuantumBitGenerator (i.e. 32 or 64).
191+
Number of bits to retrieve. It defaults to the raw number of BITS
192+
for the instance QuantumBitGenerator (i.e. 32 or 64).
193193
194194
Returns
195195
-------
@@ -242,8 +242,8 @@ def random_uint(self, num_bits: Optional[int] = None) -> int:
242242
Parameters
243243
----------
244244
num_bits: int, optional
245-
Number of bits to retrieve. If less than one it defaults to the raw
246-
number of BITS for the instance QuantumBitGenerator (i.e. 32 or 64).
245+
Number of bits to retrieve. It defaults to the raw number of BITS
246+
for the instance QuantumBitGenerator (i.e. 32 or 64).
247247
248248
Returns
249249
-------

0 commit comments

Comments
 (0)