diff --git a/pr-2208/_sources/using/backends/simulators.rst.txt b/pr-2208/_sources/using/backends/simulators.rst.txt index 6e0609cd5d..8ab0866eeb 100644 --- a/pr-2208/_sources/using/backends/simulators.rst.txt +++ b/pr-2208/_sources/using/backends/simulators.rst.txt @@ -169,6 +169,7 @@ To execute a program on the multi-node multi-GPU NVIDIA target, use the followin If a target is set in the application code, this target will override the :code:`--target` command line flag given during program invocation. .. note:: + (1) The order of the option settings are interchangeable. For example, `cudaq.set_target('nvidia', option='mgpu,fp64')` is equivalent to `cudaq.set_target('nvidia', option='fp64,mgpu')`. diff --git a/pr-2208/api/languages/python_api.html b/pr-2208/api/languages/python_api.html index 7caf86826b..69fe49c92f 100644 --- a/pr-2208/api/languages/python_api.html +++ b/pr-2208/api/languages/python_api.html @@ -2128,7 +2128,7 @@
Return a random SpinOperator
on the given number of qubits (qubit_count
) and composed of the given number of terms (term_count
). An optional seed value may also be provided.
Suppose we have \(f(x): \{0,1\} \longrightarrow \{0,1\}\). 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 logic gates.
Above you see an oracle represented as \(U_f\) which allows us to transform the state \(\ket{x}\ket{y}\) into:
Our aim is to find out if \(f: \{0,1\} \longrightarrow \{0,1\}\) is a constant or a balanced function? If constant, \(f(0) = f(1)\), and if balanced, \(f(0) \neq f(1)\).
We step through the circuit diagram below and follow the math after the application of each gate.
- +