Skip to content

Commit

Permalink
Removed the white background around the box by making a PDF first the…
Browse files Browse the repository at this point in the history
…n convert the same to PNG using ImageMagick convert.
  • Loading branch information
ntwalibas committed Nov 14, 2018
1 parent eda5cb4 commit 781075e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file added source/_diagrams/deutsch/classical.pdf
Binary file not shown.
Binary file modified source/_diagrams/deutsch/classical.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions source/algorithms/deutsch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,14 @@ make our decision of whether we have a balanced or constant oracle.

We can visualize the classical algorithm running as shown below.

.. _classical_solution:
.. figure:: /_diagrams/deutsch/classical.png
:scale: 40%
:align: center
:alt: Classical solution to Deutsch problem

Classical algorithm executing the oracle :math:`f`.

:math:`|x\rangle` is the input and :math:`|f(x)\rangle` is the output.


So how many times exactly do we need to call the oracle here?

Expand Down

0 comments on commit 781075e

Please sign in to comment.