Skip to content

Commit

Permalink
fix docstring typo in DJ algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
willzeng authored and ampolloreno committed Jun 12, 2018
1 parent 5b3b207 commit 156f758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grove/deutsch_jozsa/deutsch_jozsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _construct_deutsch_jozsa_circuit(self):
Builds the Deutsch-Jozsa circuit. Which can determine whether a function f mapping
:math:`\{0,1\}^n \to \{0,1\}` is constant or balanced, provided that it is one of them.
:return: A program corresponding to the desired instance of Simon's Algorithm.
:return: A program corresponding to the desired instance of Deutsch Jozsa's Algorithm.
:rtype: Program
"""
dj_prog = pq.Program()
Expand Down

0 comments on commit 156f758

Please sign in to comment.