You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sphinx/using/examples/multi_gpu_workflows.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ You can run a state vector simulation using your CPU with the :code:`qpp-cpu` ba
28
28
29
29
{ 00:475 11:525 }
30
30
31
-
As the number of qubits increases to even modest size, the CPU simulation will become impractically slow. By switching to the :code:`nvidia` backend, you can accelerate the same code on a single GPU and achieve a speedup of up to **2500x**. If you have a GPU available, this the default backend to ensure maximum productivity.
31
+
As the number of qubits increases to even modest size, the CPU simulation will become impractically slow. By switching to the :code:`nvidia` backend, you can accelerate the same code on a single GPU and achieve a speedup of up to **425x**. If you have a GPU available, this the default backend to ensure maximum productivity.
@@ -69,7 +69,7 @@ Parallel execution over multiple QPUs (`mqpu`)
69
69
Batching Hamiltonian Terms
70
70
^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
71
72
-
Multiple GPUs can also come in handy for cases where applications might benefit from multiple QPUs running asynchronously. The `mqpu` backend uses multiple GPUs to simulate each QPU so you can test and accelerate quantum applications with parallelization.
72
+
Multiple GPUs can also come in handy for cases where applications might benefit from multiple QPUs running in parallel. The `mqpu` backend uses multiple GPUs to simulate QPUs so you can accelerate quantum applications with parallelization.
73
73
74
74
75
75
.. image:: images/mqpu.png
@@ -152,7 +152,7 @@ Multi-QPU + Other Backends (`remote-mqpu`)
152
152
-------------------------------------------
153
153
154
154
155
-
The `mqpu` backend can be extended so that each parallel simulated QPU can be simulated with backends other than :code:`nvidia`. This provides a way to simulate larger scale circuits and execute parallel algorithms. This accomplished by launching remotes servers which each simulated a QPU.
155
+
The `mqpu` backend can be extended so that each parallel simulated QPU run backends other than :code:`nvidia`. This provides a way to simulate larger scale circuits and execute parallel algorithms. This accomplished by launching remotes servers which each simulated a QPU.
156
156
The code example below demonstrates this using the :code:`tensornet-mps` backend which allows sampling of a 40 qubit circuit too larger for state vector simulation. In this case, the target is specified as :code:`remote-mqpu` while an additional :code:`backend` is specified for the simulator used for each QPU.
157
157
158
158
The default approach uses one GPU per QPU and can both launch and close each server automatically. This is accomplished by specifying :code:`auto_launch` and :code"`url` within :code:`cudaq.set_target`. Running the script below will then sample the 40 qubit circuit using two QPUs each running :code:`tensornet-mps`.
0 commit comments