MCPcopy Create free account

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

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

↓ 2,147 callersFunctioncreate
runtime/cudaq/operators/boson_op.cpp:344
↓ 1,271 callersMethodsize
runtime/nvqir/QIRTypes.cpp:84
↓ 1,244 callersFunctionprint
unittests/operators/utils.cpp:16
↓ 1,221 callersMethodto_matrix
runtime/cudaq/operators/sum_op.cpp:475
↓ 1,027 callersFunctionmz
Measure the qubit along the z-axis.
python/cudaq/qis/qis.py:185
↓ 938 callersFunctionrange
runtime/cudaq/utils/cudaq_utils.h:322
↓ 932 callersMethodqvector
@brief Construct a `qvector` with `size` qudits in the |0> state.
runtime/cudaq/qis/qvector.h:32
↓ 925 callersMethodsample
@brief Sample a subset of qubits
runtime/nvqir/cutensornet/simulator_mps.h:238
↓ 861 callersMethodpush_back
runtime/common/NoiseModel.cpp:254
↓ 837 callersFunctionget
runtime/common/Registry.h:143
↓ 819 callersMethodend
runtime/common/Trace.h:83
↓ 739 callersMethodbegin
runtime/common/Trace.h:81
↓ 729 callersMethodqalloc
Allocate a register of qubits of size `qubit_count` and return a handle to them as a :class:`QuakeValue`. Args:
python/cudaq/kernel/kernel_builder.py:769
↓ 713 callersMethodx
runtime/cudaq/operators/sum_op.cpp:1421
↓ 578 callersFunctionid_matrix
unittests/operators/utils.cpp:87
↓ 550 callersFunctionx
This operation implements the transformation defined by the Pauli-X matrix. It is also known as the quantum version of a NOT-gate.
python/cudaq/qis/qis.py:24
↓ 546 callersMethodget
(self)
python/cudaq/runtime/run.py:33
↓ 544 callersMethodsize
cudaq/lib/Optimizer/Transforms/PhaseFolding.cpp:148
↓ 537 callersFunctioncheckEqual
unittests/operators/utils.cpp:38
↓ 495 callersFunctionsample
Sample using Pre-Trajectory Sampling with Batch Execution (`PTSBE`). Pre-samples noise realizations (trajectories) and batches circuit e
python/cudaq/runtime/ptsbe.py:52
↓ 484 callersMethodemplace_back
runtime/common/ArgumentWrapper.h:50
↓ 428 callersMethodcount
runtime/common/Resources.cpp:31
↓ 426 callersMethodvalue
return value of the iterator
tpls/json/single_include/nlohmann/json.hpp:5575
↓ 385 callersMethodexpectation
runtime/common/SampleResult.cpp:363
↓ 381 callersMethodgetContext
Get the ASTContext.
cudaq/include/cudaq/Frontend/nvqpp/ASTBridge.h:635
↓ 372 callersMethodappend
runtime/nvqir/QIRTypes.cpp:74
↓ 371 callersMethodmz
Measure the given qubit or qubits in the Z-basis. The optional `register_name` may be used to retrieve results of this measurement
python/cudaq/kernel/kernel_builder.py:1144
↓ 364 callersFunctionkronecker
runtime/cudaq/operators/matrix.h:256
↓ 355 callersMethodrun
runtime/common/CompiledModule.h:56
↓ 352 callersFunctionh
This operation is a rotation by π about the X+Z axis, and enables one to create a superposition of computational basis states.
python/cudaq/qis/qis.py:17
↓ 350 callersMethoddump
runtime/cudaq/qis/state.cpp:59
↓ 343 callersMethodinsert
runtime/cudaq/operators/sum_op.cpp:32
↓ 337 callersMethodgetElementType
cudaq/lib/Optimizer/Dialect/CC/CCTypes.cpp:177
↓ 331 callersMethodget
runtime/common/Future.cpp:19
↓ 315 callersMethodz
runtime/cudaq/operators/sum_op.cpp:1431
↓ 306 callersFunctionto_string
tpls/json/single_include/nlohmann/json.hpp:5444
↓ 301 callersMethodempty
cudaq/lib/Optimizer/Transforms/CombineMeasurements.cpp:50
↓ 300 callersMethody
runtime/cudaq/operators/sum_op.cpp:1426
↓ 296 callersMethodsize
tpls/json/single_include/nlohmann/json.hpp:3252
↓ 283 callersMethodempty
runtime/common/NoiseModel.cpp:235
↓ 268 callersFunctionnumber
runtime/cudaq/operators/boson_op.cpp:350
↓ 264 callersMethoddata
TODO: Obsolete? Used by KernelWrapper.h only.
runtime/cudaq/qis/pauli_word.h:41
↓ 262 callersMethodback
@brief Returns the `[count, size())` qudits.
runtime/cudaq/qis/qreg.h:92
↓ 261 callersMethodpush_back
runtime/cudaq/operators/handler.cpp:119
↓ 255 callersFunctionx
runtime/cudaq/operators/spin_op.cpp:259
↓ 249 callersMethodfront
@brief Returns the `[0, count)` qudits.
runtime/cudaq/qis/qreg.h:84
↓ 249 callersMethodsize
runtime/cudaq/operators/matrix.h:214
↓ 249 callersMethodsize
@brief Returns the number of contained qudits.
runtime/cudaq/qis/qreg.h:105
↓ 236 callersMethodgetResult
Returns the MLIR value representing the result of this node at \p resultidx
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:749
↓ 233 callersMethodnum_terms
@brief Get the number of terms in the super-operator @return Number of terms
runtime/cudaq/operators.h:1861
↓ 197 callersFunctionenumerate
runtime/cudaq/utils/cudaq_utils.h:77
↓ 197 callersFunctionidentity_matrix
(size)
python/tests/operator/op_utils.py:17
↓ 188 callersMethodgetName
runtime/common/Registry.h:33
↓ 186 callersMethodemitFatalError
Emit a fatal error, providing the user with source file information and the offending code.
python/cudaq/kernel/ast_bridge.py:446
↓ 185 callersFunctioncreate
tpls/json/single_include/nlohmann/json.hpp:20390
↓ 185 callersMethoddegrees
runtime/cudaq/operators/sum_op.cpp:153
↓ 175 callersFunctionannihilate
runtime/cudaq/operators/boson_op.cpp:347
↓ 165 callersMethoddump
()
python/cudaq/util/timing_helper.py:26
↓ 161 callersMethodfrom_data
@brief Create a new state from user-provided data. The data can be host or device data.
runtime/cudaq/qis/state.h:166
↓ 160 callersFunctioncx
This operation applies a controlled-x operation to the given target qubit, with the provided control qubit/s.
python/cudaq/qis/qis.py:94
↓ 160 callersMethodend
runtime/cudaq/qis/qreg.h:78
↓ 158 callersMethodempty
runtime/cudaq/operators/sum_op.cpp:1338
↓ 151 callersMethodgetValue
Returns the value represented by this DependencyEdge
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:302
↓ 147 callersFunctionmake_kernel
Create a :class:`Kernel`: An empty kernel function to be used for quantum program construction. This kernel is non-parameterized if it accep
python/cudaq/kernel/kernel_builder.py:1904
↓ 142 callersFunctionformat
runtime/include/cudaq/runtime/logger/cudaq_fmt.h:67
↓ 141 callersMethodgetResults
Get the results from a given path
runtime/cudaq/platform/default/rest/helpers/oqc/OQCServerHelp.cpp:331
↓ 139 callersMethodobserve
@brief Compute the expected value of the given spin op with respect to the current state, <psi | H | psi>.
runtime/nvqir/CircuitSimulator.h:1005
↓ 133 callersFunctionconcat
tpls/json/single_include/nlohmann/json.hpp:4476
↓ 132 callersFunctionidentity
( degrees: Sequence[int] | int = [] )
python/cudaq/operators/custom/backwards_compatibility.py:49
↓ 131 callersMethodwrite_character
tpls/json/single_include/nlohmann/json.hpp:15671
↓ 129 callersMethodto_string
runtime/cudaq/operators/sum_op.cpp:1526
↓ 128 callersMethodget_state
Obtain the state of the integrator as a pair (t, state).
python/cudaq/dynamics/integrator.py:94
↓ 125 callersMethodpushValue
Push an MLIR Value onto the stack for usage in a subsequent AST node visit method.
python/cudaq/kernel/ast_bridge.py:754
↓ 123 callersMethodgetTargets
python/utils/LinkedLibraryHolder.cpp:522
↓ 121 callersMethodevaluate
runtime/cudaq/operators/scalar_op.cpp:51
↓ 116 callersFunctionry
This operation is an arbitrary rotation about the Y axis.
python/cudaq/qis/qis.py:66
↓ 113 callersMethodend
return iterator end (needed for range-based for)
tpls/json/single_include/nlohmann/json.hpp:5608
↓ 113 callersMethodstr
cudaq/lib/Optimizer/Transforms/DecompositionPatternSelection.cpp:68
↓ 111 callersMethodcompile
A `PyKernel` can be dynamically extended up until it is reified to be used in a launch scenario. We reify the kernel as-is here.
python/cudaq/kernel/kernel_builder.py:1724
↓ 111 callersFunctionmz
unittests/qudit/SimpleQuditTester.cpp:37
↓ 108 callersMethodgetIntegerType
Return an MLIR `IntegerType` of the given bit width (defaults to 64 bits).
python/cudaq/kernel/ast_bridge.py:504
↓ 108 callersFunctionsum
(l: list[int])
python/tests/kernel/test_assignments.py:24
↓ 106 callersMethoderase
Removes this OpDependencyNode from the graph by replacing all successor dependencies with the relevant dependency from this node. Also deletes this no
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:936
↓ 106 callersMethodgetArgument
cudaq/test/plugin/CustomPassPlugin.cpp:39
↓ 106 callersFunctionlinspace
runtime/cudaq/utils/cudaq_utils.cpp:14
↓ 100 callersMethodstr
runtime/cudaq/qis/pauli_word.h:38
↓ 99 callersMethodbegin
@brief Iterator interface, begin.
runtime/cudaq/qis/qreg.h:77
↓ 99 callersFunctionrz
Single-qubit rotation about the Z axis.
python/tests/operator/test_matrix_op.py:665
↓ 98 callersFunctionrx
This operation is an arbitrary rotation about the X axis.
python/cudaq/qis/qis.py:59
↓ 93 callersMethodnum_ops
runtime/cudaq/operators/product_op.cpp:373
↓ 91 callersFunctionset_random_seed
@brief Note: a seed value of 0 will cause broadcast operations to use std::random_device (or something similar) as a seed for the PRNGs, so this will
runtime/cudaq/cudaq.cpp:266
↓ 90 callersMethodbegin
return iterator begin (needed for range-based for)
tpls/json/single_include/nlohmann/json.hpp:5602
↓ 90 callersMethodgetUsers
Returns users in dominance order by iterating through the cached sorted list (regToOrderedUsers) and filtering out any operations that have been erase
cudaq/lib/Optimizer/Transforms/ResetBeforeReuse.cpp:70
↓ 90 callersFunctionnumber_matrix
unittests/operators/utils.cpp:128
↓ 86 callersMethodclear
Clean up all tracked arrays
runtime/nvqir/QIRTypes.cpp:46
↓ 86 callersFunctionposition_matrix
unittests/operators/utils.cpp:108
↓ 83 callersFunctionrun
(decorator, *args, shots_count=100, noise_model=None, qpu_id=0)
python/cudaq/runtime/run.py:50
↓ 82 callersMethodevaluate_coefficient
runtime/cudaq/operators/product_op.cpp:635
↓ 82 callersMethodsize
runtime/common/NoiseModel.cpp:233
↓ 81 callersFunctioncomplex
Return the data type for the current simulation backend, either `numpy.complex128` or `numpy.complex64`.
python/cudaq/__init__.py:304
next →1–100 of 11,928, ranked by callers