Skip to content

Commit ec29cf2

Browse files
cclaussgithub-actions
and
github-actions
authored
Fix broken build: Remove trailing spaces (TheAlgorithms#3501)
* Fix broken build: Remove trailing spaces * updating DIRECTORY.md * One more trailing space Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent a458739 commit ec29cf2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

DIRECTORY.md

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
* [Base32](https://github.com/TheAlgorithms/Python/blob/master/ciphers/base32.py)
4949
* [Base64 Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/base64_cipher.py)
5050
* [Base85](https://github.com/TheAlgorithms/Python/blob/master/ciphers/base85.py)
51+
* [Beaufort Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/beaufort_cipher.py)
5152
* [Brute Force Caesar Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/brute_force_caesar_cipher.py)
5253
* [Caesar Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/caesar_cipher.py)
5354
* [Cryptomath Module](https://github.com/TheAlgorithms/Python/blob/master/ciphers/cryptomath_module.py)
@@ -58,6 +59,7 @@
5859
* [Enigma Machine2](https://github.com/TheAlgorithms/Python/blob/master/ciphers/enigma_machine2.py)
5960
* [Hill Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/hill_cipher.py)
6061
* [Mixed Keyword Cypher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/mixed_keyword_cypher.py)
62+
* [Mono Alphabetic Ciphers](https://github.com/TheAlgorithms/Python/blob/master/ciphers/mono_alphabetic_ciphers.py)
6163
* [Morse Code Implementation](https://github.com/TheAlgorithms/Python/blob/master/ciphers/morse_code_implementation.py)
6264
* [Onepad Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/onepad_cipher.py)
6365
* [Playfair Cipher](https://github.com/TheAlgorithms/Python/blob/master/ciphers/playfair_cipher.py)
@@ -710,6 +712,7 @@
710712
* [Validate Solutions](https://github.com/TheAlgorithms/Python/blob/master/project_euler/validate_solutions.py)
711713

712714
## Quantum
715+
* [Deutsch Jozsa](https://github.com/TheAlgorithms/Python/blob/master/quantum/deutsch_jozsa.py)
713716
* [Half Adder](https://github.com/TheAlgorithms/Python/blob/master/quantum/half_adder.py)
714717
* [Not Gate](https://github.com/TheAlgorithms/Python/blob/master/quantum/not_gate.py)
715718
* [Quantum Entanglement](https://github.com/TheAlgorithms/Python/blob/master/quantum/quantum_entanglement.py)

quantum/deutsch_jozsa.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
classical algorithm
66
77
Premise:
8-
We are given a hidden Boolean function f,
8+
We are given a hidden Boolean function f,
99
which takes as input a string of bits, and returns either 0 or 1:
1010
1111
f({x0,x1,x2,...}) -> 0 or 1, where xn is 0 or 1
12-
12+
1313
The property of the given Boolean function is that it is guaranteed to
14-
either be balanced or constant. A constant function returns all 0's
15-
or all 1's for any input, while a balanced function returns 0's for
14+
either be balanced or constant. A constant function returns all 0's
15+
or all 1's for any input, while a balanced function returns 0's for
1616
exactly half of all inputs and 1's for the other half. Our task is to
1717
determine whether the given function is balanced or constant.
1818

0 commit comments

Comments
 (0)