Skip to content

Commit e6788b3

Browse files
Docs preview for PR #3489.
1 parent 2f3d747 commit e6788b3

29 files changed

+68
-67
lines changed

pr-3489/_sources/using/install/data_center_install.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ CUDA
149149

150150
Building CUDA-Q requires a full installation of the CUDA toolkit.
151151
**You can install the CUDA toolkit and use the CUDA compiler without having a GPU.**
152-
The instructions are tested using version 11.8 and 12.6, but other CUDA 11 or 12 versions
152+
The instructions are tested using version 12.6 and 13.0, but other CUDA 12 or 13 versions
153153
should work, as long as the CUDA runtime version on the host system matches the
154154
CUDA version used for the build, and the installed driver on the host
155155
system supports that CUDA version. We recommend using the latest CUDA version

pr-3489/_sources/using/install/local_installation.rst.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -749,12 +749,12 @@ commands, for example, install the necessary packages for RHEL 8:
749749

750750
More detailed instructions for your platform can be found in the online documentation
751751
linked for that `CUDA version <https://developer.nvidia.com/cuda-toolkit-archive>`__.
752-
Please make sure to install CUDA version 11.8 or newer, and confirm that your
752+
Please make sure to install CUDA version 12.0 or newer, and confirm that your
753753
`GPU driver <https://www.nvidia.com/download/index.aspx>`__ supports that version.
754754
While the above packages are sufficient to use GPU-acceleration within CUDA-Q,
755755
we recommend installing the complete CUDA toolkit (`cuda-toolkit-12-0`) that also
756-
includes the `nvcc` compiler. A separate CUDA-Q installer is available for CUDA 11,
757-
built against version 11.8, and for CUDA 12, built against version 12.6.
756+
includes the `nvcc` compiler. A separate CUDA-Q installer is available for CUDA 12,
757+
built against version 12.6, and for CUDA 13, built against version 13.0.
758758

759759
.. _distributed-computing-with-mpi:
760760

@@ -888,11 +888,11 @@ The following table summarizes the required components.
888888
:header-rows: 0
889889

890890
* - GPU Architectures
891-
- Volta, Turing, Ampere, Ada, Hopper
891+
- Turing, Ampere, Ada, Hopper, Blackwell (Blackwell supported for CUDA 13.x only)
892892
* - NVIDIA GPU with Compute Capability
893-
- 7.0+
893+
- 7.5+
894894
* - CUDA
895-
- 11.x (Driver 470.57.02+), 12.x (Driver 525.60.13+)
895+
- 12.x (Driver 525.60.13+), 13.x (Driver 580.65.06+)
896896

897897
Detailed information about supported drivers for different CUDA versions and be found `here <https://docs.nvidia.com/deploy/cuda-compatibility/>`__.
898898

pr-3489/api/languages/python_api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2446,7 +2446,7 @@ <h3>Spin Operators<a class="headerlink" href="#spin-operators" title="Permalink
24462446
<em class="property"><span class="pre">static</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">random</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cudaq.operators.spin.SpinOperator.random" title="Permalink to this definition">¶</a></dt>
24472447
<dd><dl class="py function">
24482448
<dt class="sig sig-object py">
2449-
<span class="sig-name descname"><span class="pre">random</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">qubit_count</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">term_count</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><span class="pre">int</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">2774161654</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cudaq.operators.spin.SpinOperator" title="cudaq.operators.spin.SpinOperator"><span class="pre">SpinOperator</span></a></span></span></dt>
2449+
<span class="sig-name descname"><span class="pre">random</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">qubit_count</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">term_count</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><span class="pre">int</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">251990880</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cudaq.operators.spin.SpinOperator" title="cudaq.operators.spin.SpinOperator"><span class="pre">SpinOperator</span></a></span></span></dt>
24502450
<dd></dd></dl>
24512451

24522452
<p>Return a random spin operator with the given number of terms (<code class="code docutils literal notranslate"><span class="pre">term_count</span></code>) where each term acts on all targets in the open range [0, qubit_count). An optional seed value may also be provided.</p>

pr-3489/api/languages/python_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3624,7 +3624,7 @@ aria-hidden="true"}](../default_ops.html "Quantum Operations"){.btn
36243624

36253625
:
36263626

3627-
[[random]{.pre}]{.sig-name .descname}[(]{.sig-paren}*[[qubit_count]{.pre}]{.n}[[:]{.pre}]{.p}[ ]{.w}[[[int]{.pre}](https://docs.python.org/3/library/functions.html#int "(in Python v3.14)"){.reference .external}]{.n}*, *[[term_count]{.pre}]{.n}[[:]{.pre}]{.p}[ ]{.w}[[[int]{.pre}](https://docs.python.org/3/library/functions.html#int "(in Python v3.14)"){.reference .external}]{.n}*, *[[seed]{.pre}]{.n}[[:]{.pre}]{.p}[ ]{.w}[[[int]{.pre}](https://docs.python.org/3/library/functions.html#int "(in Python v3.14)"){.reference .external}]{.n}[ ]{.w}[[=]{.pre}]{.o}[ ]{.w}[[2774161654]{.pre}]{.default_value}*[)]{.sig-paren} [[→]{.sig-return-icon} [[[SpinOperator]{.pre}](#cudaq.operators.spin.SpinOperator "cudaq.operators.spin.SpinOperator"){.reference .internal}]{.sig-return-typehint}]{.sig-return}
3627+
[[random]{.pre}]{.sig-name .descname}[(]{.sig-paren}*[[qubit_count]{.pre}]{.n}[[:]{.pre}]{.p}[ ]{.w}[[[int]{.pre}](https://docs.python.org/3/library/functions.html#int "(in Python v3.14)"){.reference .external}]{.n}*, *[[term_count]{.pre}]{.n}[[:]{.pre}]{.p}[ ]{.w}[[[int]{.pre}](https://docs.python.org/3/library/functions.html#int "(in Python v3.14)"){.reference .external}]{.n}*, *[[seed]{.pre}]{.n}[[:]{.pre}]{.p}[ ]{.w}[[[int]{.pre}](https://docs.python.org/3/library/functions.html#int "(in Python v3.14)"){.reference .external}]{.n}[ ]{.w}[[=]{.pre}]{.o}[ ]{.w}[[251990880]{.pre}]{.default_value}*[)]{.sig-paren} [[→]{.sig-return-icon} [[[SpinOperator]{.pre}](#cudaq.operators.spin.SpinOperator "cudaq.operators.spin.SpinOperator"){.reference .internal}]{.sig-return-typehint}]{.sig-return}
36283628

36293629
:
36303630

pr-3489/applications/python/adapt_qaoa.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ <h1>ADAPT-QAOA algorithm<a class="headerlink" href="#ADAPT-QAOA-algorithm" title
10121012
parameter</p>
10131013
<p>3- Optimize all parameters currently in the Ansatz <span class="math notranslate nohighlight">\(\beta_m, \gamma_m = 1, 2, ...k\)</span> such that <span class="math notranslate nohighlight">\(\braket{\psi (k)|H_C|\psi(k)}\)</span> is minimized, and return to the second step.</p>
10141014
<p>Below is a schematic representation of the ADAPT-QAOA algorithm explained above.</p>
1015-
<div><p><img alt="27ccf007e162433aabb768e78a19448e" class="no-scaled-link" src="../../_images/adapt-qaoa.png" style="width: 1000px;" /></p>
1015+
<div><p><img alt="f30d3c496d064abea1747f6992d89896" class="no-scaled-link" src="../../_images/adapt-qaoa.png" style="width: 1000px;" /></p>
10161016
</div><div class="nbinput nblast docutils container">
10171017
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[15]:
10181018
</pre></div>

pr-3489/applications/python/adapt_qaoa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ explained above.
17771777

17781778
<div>
17791779

1780-
![27ccf007e162433aabb768e78a19448e](../../_images/adapt-qaoa.png){.no-scaled-link
1780+
![f30d3c496d064abea1747f6992d89896](../../_images/adapt-qaoa.png){.no-scaled-link
17811781
style="width: 1000px;"}
17821782

17831783
</div>

pr-3489/applications/python/adapt_vqe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ <h1>ADAPT-VQE algorithm<a class="headerlink" href="#ADAPT-VQE-algorithm" title="
10091009
<p>7- Perform a VQE experiment to re-optimize all parameters in the ansatz.</p>
10101010
<p>8- go to step 4</p>
10111011
<p>Below is a Schematic depiction of the ADAPT-VQE algorithm</p>
1012-
<div><p><img alt="d0feb31e232d4ccc82cbbbe0478d6e0e" class="no-scaled-link" src="../../_images/adapt-vqe.png" style="width: 800px;" /></p>
1012+
<div><p><img alt="26ce2b1f1396475a9f1d22959b9b9b42" class="no-scaled-link" src="../../_images/adapt-vqe.png" style="width: 800px;" /></p>
10131013
</div><div class="nbinput docutils container">
10141014
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
10151015
</pre></div>

pr-3489/applications/python/adapt_vqe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ Below is a Schematic depiction of the ADAPT-VQE algorithm
17451745

17461746
<div>
17471747

1748-
![d0feb31e232d4ccc82cbbbe0478d6e0e](../../_images/adapt-vqe.png){.no-scaled-link
1748+
![26ce2b1f1396475a9f1d22959b9b9b42](../../_images/adapt-vqe.png){.no-scaled-link
17491749
style="width: 800px;"}
17501750

17511751
</div>

pr-3489/applications/python/deutsch_algorithm.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ <h2>XOR <span class="math notranslate nohighlight">\(\oplus\)</span><a class="he
10691069
</section>
10701070
<section id="Quantum-oracles">
10711071
<h2>Quantum oracles<a class="headerlink" href="#Quantum-oracles" title="Permalink to this heading"></a></h2>
1072-
<p><img alt="562501276c5747a18b11687854950971" class="no-scaled-link" src="../../_images/oracle.png" style="width: 300px; height: 150px;" /></p>
1072+
<p><img alt="ba62b7b895ff426783fd37847db2b9cb" class="no-scaled-link" src="../../_images/oracle.png" style="width: 300px; height: 150px;" /></p>
10731073
<p>Suppose we have <span class="math notranslate nohighlight">\(f(x): \{0,1\} \longrightarrow \{0,1\}\)</span>. We can compute this function on a quantum computer using oracles which we treat as black box functions that yield the output with an appropriate sequence of logical gates.</p>
10741074
<p>Above you see an oracle represented as <span class="math notranslate nohighlight">\(U_f\)</span> which allows us to transform the state <span class="math notranslate nohighlight">\(\ket{x}\ket{y}\)</span> into:</p>
10751075
<div class="math notranslate nohighlight">
@@ -1117,7 +1117,7 @@ <h2>Quantum parallelism<a class="headerlink" href="#Quantum-parallelism" title="
11171117
<h2>Deutsch’s Algorithm:<a class="headerlink" href="#Deutsch's-Algorithm:" title="Permalink to this heading"></a></h2>
11181118
<p>Our aim is to find out if <span class="math notranslate nohighlight">\(f: \{0,1\} \longrightarrow \{0,1\}\)</span> is a constant or a balanced function? If constant, <span class="math notranslate nohighlight">\(f(0) = f(1)\)</span>, and if balanced, <span class="math notranslate nohighlight">\(f(0) \neq f(1)\)</span>.</p>
11191119
<p>We step through the circuit diagram below and follow the math after the application of each gate.</p>
1120-
<p><img alt="97af460d67b64f2b956c754301a09f3b" class="no-scaled-link" src="../../_images/deutsch.png" style="width: 500px; height: 210px;" /></p>
1120+
<p><img alt="83d3c5eabca8478b9d1345b3c45286c3" class="no-scaled-link" src="../../_images/deutsch.png" style="width: 500px; height: 210px;" /></p>
11211121
<div class="math notranslate nohighlight">
11221122
\[\ket{\psi_0} = \ket{01}
11231123
\tag{1}\]</div>

pr-3489/applications/python/deutsch_algorithm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ number, the result is 0 otherwise 1.
18261826
::: {#Quantum-oracles .section}
18271827
## Quantum oracles[](#Quantum-oracles "Permalink to this heading"){.headerlink}
18281828

1829-
![562501276c5747a18b11687854950971](../../_images/oracle.png){.no-scaled-link
1829+
![ba62b7b895ff426783fd37847db2b9cb](../../_images/oracle.png){.no-scaled-link
18301830
style="width: 300px; height: 150px;"}
18311831

18321832
Suppose we have [\\(f(x): \\{0,1\\} \\longrightarrow \\{0,1\\}\\)]{.math
@@ -1932,7 +1932,7 @@ balanced function? If constant, [\\(f(0) = f(1)\\)]{.math .notranslate
19321932
We step through the circuit diagram below and follow the math after the
19331933
application of each gate.
19341934

1935-
![97af460d67b64f2b956c754301a09f3b](../../_images/deutsch.png){.no-scaled-link
1935+
![83d3c5eabca8478b9d1345b3c45286c3](../../_images/deutsch.png){.no-scaled-link
19361936
style="width: 500px; height: 210px;"}
19371937

19381938
::: {.math .notranslate .nohighlight}

0 commit comments

Comments
 (0)