MCPcopy Create free account

hub / github.com/NVIDIA/cuda-quantum / functions

Functions11,928 in github.com/NVIDIA/cuda-quantum

↓ 81 callersFunctionexp_pauli
Apply a general Pauli tensor product rotation, `exp(i theta P)`,
python/cudaq/qis/qis.py:178
↓ 81 callersFunctionfind
tpls/json/single_include/nlohmann/json.hpp:20003
↓ 81 callersFunctionget_state
Return the :class:`State` of the system after execution of the provided `kernel`. Args: kernel (:class:`Kernel`): The :class:`Kern
python/cudaq/runtime/state.py:16
↓ 81 callersFunctionposition
runtime/cudaq/operators/boson_op.cpp:353
↓ 79 callersMethodadd_channel
runtime/common/NoiseModel.cpp:264
↓ 79 callersMethodallocateQubit
@brief Allocate a single qubit, return the qubit as a logical index
runtime/nvqir/CircuitSimulator.h:1011
↓ 78 callersMethodwalk
(topLevel, functor)
python/cudaq/kernel/kernel_builder.py:633
↓ 77 callersFunctiontype
@brief return the type of the JSON value (explicit) @sa https://json.nlohmann.me/api/basic_json/type/
tpls/json/single_include/nlohmann/json.hpp:21335
↓ 74 callersMethodcend
runtime/common/SampleResult.cpp:313
↓ 72 callersMethodend
runtime/cudaq/operators/super_op.cpp:73
↓ 72 callersFunctionobserve
Compute the expected value of the `spin_operator` with respect to the `kernel`. If the input `spin_operator` is a list of `SpinOperator` then
python/cudaq/runtime/observe.py:55
↓ 71 callersFunctiongetExecutionContext
runtime/common/ExecutionContext.cpp:21
↓ 71 callersFunctionmomentum
runtime/cudaq/operators/boson_op.cpp:356
↓ 71 callersFunctionmomentum_matrix
unittests/operators/utils.cpp:117
↓ 70 callersFunctionparity
runtime/cudaq/operators/matrix_op.cpp:595
↓ 70 callersMethodrows
runtime/cudaq/operators/matrix.h:212
↓ 69 callersMethodprobability
runtime/common/SampleResult.cpp:326
↓ 68 callersFunctionparity_matrix
unittests/operators/utils.cpp:135
↓ 67 callersFunctioncreate
Apply create gate on the input qudit. U|0> -> |1>, U|1> -> |2>, ..., and U|d> -> |d> Args: qudit: An instance of `PyQudit` class
python/cudaq/handlers/photonics_kernel.py:122
↓ 66 callersMethodevaluate
( self: OperatorEvaluation, op: ElementaryOperator | ScalarOperator )
python/cudaq/operators/manipulation.py:84
↓ 66 callersFunctionevolve
runtime/cudaq/algorithms/evolve.h:85
↓ 66 callersFunctiongetExecutionManager
Get the current execution manager. This may only be called within a CUDA-Q kernel execution.
runtime/cudaq/qis/execution_manager.h:280
↓ 66 callersFunctionz
This operation implements the transformation defined by the Pauli-Z matrix.
python/cudaq/qis/qis.py:38
↓ 65 callersMethodcanonicalize
runtime/cudaq/operators/sum_op.cpp:1567
↓ 65 callersFunctiondepolarization_channel
runtime/common/NoiseModel.h:660
↓ 65 callersFunctiongetCircuitSimulatorInternal
@brief Return the single simulation backend pointer, create if not created already. @return
runtime/nvqir/NVQIR.cpp:98
↓ 65 callersMethodsize
Return the number of qubits in this view.
python/cudaq/kernel_types.py:88
↓ 64 callersMethodsplit
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/stogo/tools.cc:169
↓ 63 callersFunctiony
This operation implements the transformation defined by the Pauli-Y matrix.
python/cudaq/qis/qis.py:31
↓ 62 callersMethodadd_all_qubit_channel
runtime/common/NoiseModel.cpp:300
↓ 62 callersMethodgetStateVector
unittests/backends/QPPTester.h:30
↓ 62 callersMethodjoin
cudaq/lib/Optimizer/Transforms/DecompositionPatternSelection.cpp:52
↓ 62 callersFunctionmakeTrajectory
A simple trajectory for testing
unittests/ptsbe/ShotAllocationTester.cpp:16
↓ 62 callersMethodvisit
(self, node)
python/cudaq/kernel/ast_bridge.py:1760
↓ 61 callersFunctiongetPointerType
Return the LLVM-IR dialect `ptr` type.
cudaq/include/cudaq/Optimizer/Builder/Factory.h:73
↓ 59 callersMethodparse
runtime/common/RecordLogParser.cpp:15
↓ 58 callersFunctioninit
(n: int)
python/tests/backends/test_IQM.py:323
↓ 58 callersFunctionis_close
(expected, actual)
python/tests/kernel/test_kernel_complex.py:17
↓ 57 callersMethodcols
runtime/cudaq/operators/matrix.h:213
↓ 57 callersMethodto_quake
@brief Return the string representation of the quake code.
runtime/cudaq/builder/kernel_builder.h:978
↓ 56 callersMethodgetSampledBitString
unittests/backends/QPPTester.h:19
↓ 56 callersMethodgetTarget
python/utils/LinkedLibraryHolder.cpp:396
↓ 55 callersMethodcbegin
runtime/common/SampleResult.cpp:309
↓ 55 callersMethoddump
! @brief internal implementation of the serialization function This function is called by the public member function dump and organizes t
tpls/json/single_include/nlohmann/json.hpp:18828
↓ 54 callersFunctionemitFatalError
Emit a fatal error diagnostic. The goal here is to retain the input message, but also provide the offending source location by inspecti
python/cudaq/kernel/utils.py:257
↓ 54 callersMethodformat
runtime/common/FmtCore.h:27
↓ 54 callersMethodgetCallee
cudaq/lib/Optimizer/Transforms/LambdaLifting.cpp:323
↓ 54 callersMethodhasSpecifiedSize
cudaq/lib/Optimizer/Dialect/Quake/QuakeTypes.cpp:83
↓ 54 callersMethodmost_probable
runtime/common/SampleResult.cpp:345
↓ 53 callersMethodrelease
realtime/unittests/utils/hololink_fpga_emulator.cpp:318
↓ 52 callersMethodget
runtime/cudaq/distributed/mpi_plugin.h:31
↓ 52 callersMethodid
Return the unique id / index for this qudit
runtime/cudaq/qis/qudit.h:49
↓ 52 callersMethodoverlap
runtime/cudaq/qis/state.cpp:109
↓ 51 callersMethodinitialize_cudm
runtime/nvqir/cudensitymat/CuDensityMatState.cpp:541
↓ 50 callersMethoddata
tpls/json/single_include/nlohmann/json.hpp:24239
↓ 50 callersMethodloadIntrinsic
cudaq/lib/Optimizer/Builder/Intrinsics.cpp:733
↓ 48 callersMethodapply_noise
Apply a noise channel to the provided qubit or qubits.
python/cudaq/kernel/kernel_builder.py:1643
↓ 48 callersFunctionget
tpls/json/single_include/nlohmann/json.hpp:5618
↓ 48 callersFunctionstring_equal
unittests/utils/Matrix.cpp:20
↓ 47 callersFunctionPauliX_matrix
unittests/operators/utils.cpp:158
↓ 47 callersFunctionannihilate
Apply annihilate gate on the input qudit. U|0> -> |0>, U|1> -> |0>, ..., and U|d> -> |d-1> Args: qudit: An instance of `PyQudit`
python/cudaq/handlers/photonics_kernel.py:139
↓ 47 callersMethodparse_error
tpls/json/single_include/nlohmann/json.hpp:4667
↓ 47 callersMethodpopValue
Pop an MLIR Value from the stack.
python/cudaq/kernel/ast_bridge.py:760
↓ 46 callersMethoddump
runtime/cudaq/platform/qpu_state.cpp:58
↓ 45 callersMethodgenerateTrajectories
runtime/cudaq/ptsbe/strategies/OrderedSamplingStrategy.cpp:18
↓ 45 callersMethodto_host
runtime/cudaq/qis/state.h:138
↓ 45 callersMethodwith_execution_context
runtime/cudaq/platform/platform_iface.cpp:12
↓ 44 callersFunctionPauliY_matrix
unittests/operators/utils.cpp:172
↓ 44 callersMethodbegin
runtime/cudaq/algorithms/schedule.cpp:80
↓ 44 callersFunctioncx
runtime/cudaq/qis/qubit_qis.h:340
↓ 44 callersFunctionget_safe
runtime/cudaq/platform/default/rest/helpers/scaleway/qaas/V1Alpha1Objects.h:19
↓ 43 callersMethodclone
runtime/nvqir/cudensitymat/MagnusIntegrator.cpp:30
↓ 43 callersMethoddump
cudaq/lib/Optimizer/Transforms/PhaseFolding.cpp:497
↓ 43 callersMethodempty
tpls/json/single_include/nlohmann/json.hpp:6654
↓ 43 callersFunctioninstantiate
Instantiates a product operator containing a previously defined operator element. Arguments: operator_id: The id of the operator ele
python/cudaq/operators/custom/__init__.py:56
↓ 43 callersMethodnum_qpus
Get the number of QPUs available with this platform.
runtime/cudaq/platform/quantum_platform.h:133
↓ 43 callersFunctionsample_async
Asynchronously sample using PTSBE. Returns a future whose result can be retrieved via ``.get()``. Args: kernel: The quantum kernel
python/cudaq/runtime/ptsbe.py:128
↓ 42 callersMethoddeallocate
@brief Deallocate the qubit with give unique index
runtime/nvqir/CircuitSimulator.h:270
↓ 42 callersFunctioni
runtime/cudaq/operators/spin_op.cpp:256
↓ 42 callersFunctiontype_name
@brief return the type as string @sa https://json.nlohmann.me/api/basic_json/type_name/
tpls/json/single_include/nlohmann/json.hpp:24199
↓ 41 callersFunctiondefine
Defines a matrix operator element with the given id. After definition, an the defined elementary operator can be instantiated by providin
python/cudaq/operators/custom/__init__.py:17
↓ 41 callersFunctiongetZeroState
unittests/backends/QPPTester.cpp:33
↓ 41 callersFunctionto_bools
Bulk-discriminate a ``list[cudaq.measure_handle]`` into a ``list[bool]``. Device-only: this Python symbol exists so kernel code can call ``cud
python/cudaq/__init__.py:324
↓ 40 callersFunctiongetKernelName
runtime/cudaq/qis/kernel_utils.h:44
↓ 40 callersMethodkey
tpls/json/single_include/nlohmann/json.hpp:9609
↓ 40 callersMethodto_map
runtime/common/SampleResult.cpp:394
↓ 39 callersFunctionannihilate_matrix
unittests/operators/utils.cpp:94
↓ 39 callersFunctionempty
(var: list[cudaq.pauli_word], varvar: list[float], varvarvar: list[bool])
python/tests/kernel/test_kernel_features.py:1510
↓ 39 callersMethodgetTerminator
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:1984
↓ 39 callersFunctionreset
runtime/cudaq/qis/qubit_qis.h:469
↓ 39 callersFunctionzero_matrix
(size)
python/tests/operator/op_utils.py:13
↓ 38 callersFunctionadd
add a character to token_buffer
tpls/json/single_include/nlohmann/json.hpp:8427
↓ 38 callersFunctionexpectGroupOps
unittests/Optimizer/UnitaryOpGroupingTest.cpp:48
↓ 38 callersMethodget_total_shots
@brief Get the total number of shots in the result
runtime/common/SampleResult.h:289
↓ 38 callersFunctionisInNamespace
Return true if and only if \p x was declared in the namespace \p nsName. This test will "drill through" any nested namespaces in search of a match.
cudaq/include/cudaq/Frontend/nvqpp/ASTBridge.h:828
↓ 38 callersMethodname
unittests/backends/qpp_observe/QPPObserveBackend.cpp:61
↓ 38 callersFunctionrank
runtime/cudaq/cudaq.cpp:118
↓ 37 callersFunctionbasic_json
@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/
tpls/json/single_include/nlohmann/json.hpp:20832
↓ 37 callersMethodbegin
runtime/cudaq/operators/super_op.cpp:71
↓ 37 callersMethodcontrol
Apply the `target` kernel as a controlled operation in-place to `self`. Uses the provided `control` as control qubit/s for the operat
python/cudaq/kernel/kernel_builder.py:1351
← previousnext →101–200 of 11,928, ranked by callers