Skip to content

Commit

Permalink
Document what happens if parameter value is not specified (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcapelluto authored and mpharrigan committed Dec 1, 2018
1 parent 604bf26 commit a190164
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,11 @@ filled in for, say, 200 values between :math:`0` and :math:`2\pi`. We demonstrat
# Store our results
parameteric_measurements.append(bitstrings)
In the example here, if you called ``qc.run(executable)`` and didn't specify ``'theta'``, the program would apply
``RZ(0, qubit)`` for every execution.

.. note::
Classical memory defaults to zero. If you don't specify a value for a declared memory region, it will be zero.

Gate Modifiers
~~~~~~~~~~~~~~
Expand Down

0 comments on commit a190164

Please sign in to comment.