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/api/languages/cpp_api.rst
+101-7Lines changed: 101 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,10 +120,6 @@ Common
120
120
.. doxygenclass:: cudaq::sample_result
121
121
:members:
122
122
123
-
.. _classcudaq_1_1ptsbe_1_1sample__result:
124
-
125
-
**cudaq::`ptsbe`::sample_result** — Result type returned by ``ptsbe::sample()``, extending `cudaq::sample_result` with optional execution data (trace and per-trajectory info). See ``PTSBESampleResult.h`` and ``PTSBEExecutionData.h``.
126
-
127
123
.. doxygenstruct:: cudaq::sample_options
128
124
:members:
129
125
@@ -190,12 +186,12 @@ Noise Modeling
190
186
it is automatically (and silently) stripped from any programs submitted to
191
187
hardware targets.
192
188
193
-
:tparam Channel: A subtype of :cpp:class:`cudaq::kraus_channel` that
189
+
:`tparam` Channel: A subtype of :cpp:class:`cudaq::kraus_channel` that
194
190
implements/defines the desired noise mechanisms as Kraus channels (e.g.
195
191
:cpp:class:`cudaq::depolarization2`). If you want to use a custom
196
192
:cpp:class:`cudaq::kraus_channel` (i.e. not built-in to CUDA-Q), it must
197
193
first be registered *outside the kernel* with
198
-
:cpp:func:`cudaq::noise_model::register_channel`, like this:
194
+
`:cpp:func:cudaq::noise_model::register_channel`, like this:
0 commit comments