Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion other/linear_congruential_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class LinearCongruentialGenerator:
A pseudorandom number generator.
"""

def __init__(self, multiplier, increment, modulo, seed=int(time())):
def __init__(self, multiplier, increment, modulo, seed=int(time())): # noqa: B008
"""
These parameters are saved and used when nextNumber() is called.

Expand Down
4 changes: 3 additions & 1 deletion quantum/ripple_adder_classic.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def full_adder(


def ripple_adder(
val1: int, val2: int, backend: BaseBackend = Aer.get_backend("qasm_simulator")
val1: int,
val2: int,
backend: BaseBackend = Aer.get_backend("qasm_simulator"), # noqa: B008
) -> int:
"""
Quantum Equivalent of a Ripple Adder Circuit
Expand Down