Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ functions
Functions
11,928 in github.com/NVIDIA/cuda-quantum
⨍
Functions
11,928
◇
Types & classes
2,432
↳
Endpoints
84
↓ 81 callers
Function
exp_pauli
Apply a general Pauli tensor product rotation, `exp(i theta P)`,
python/cudaq/qis/qis.py:178
↓ 81 callers
Function
find
tpls/json/single_include/nlohmann/json.hpp:20003
↓ 81 callers
Function
get_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 callers
Function
position
runtime/cudaq/operators/boson_op.cpp:353
↓ 79 callers
Method
add_channel
runtime/common/NoiseModel.cpp:264
↓ 79 callers
Method
allocateQubit
@brief Allocate a single qubit, return the qubit as a logical index
runtime/nvqir/CircuitSimulator.h:1011
↓ 78 callers
Method
walk
(topLevel, functor)
python/cudaq/kernel/kernel_builder.py:633
↓ 77 callers
Function
type
@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 callers
Method
cend
runtime/common/SampleResult.cpp:313
↓ 72 callers
Method
end
runtime/cudaq/operators/super_op.cpp:73
↓ 72 callers
Function
observe
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 callers
Function
getExecutionContext
runtime/common/ExecutionContext.cpp:21
↓ 71 callers
Function
momentum
runtime/cudaq/operators/boson_op.cpp:356
↓ 71 callers
Function
momentum_matrix
unittests/operators/utils.cpp:117
↓ 70 callers
Function
parity
runtime/cudaq/operators/matrix_op.cpp:595
↓ 70 callers
Method
rows
runtime/cudaq/operators/matrix.h:212
↓ 69 callers
Method
probability
runtime/common/SampleResult.cpp:326
↓ 68 callers
Function
parity_matrix
unittests/operators/utils.cpp:135
↓ 67 callers
Function
create
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 callers
Method
evaluate
( self: OperatorEvaluation, op: ElementaryOperator | ScalarOperator )
python/cudaq/operators/manipulation.py:84
↓ 66 callers
Function
evolve
runtime/cudaq/algorithms/evolve.h:85
↓ 66 callers
Function
getExecutionManager
Get the current execution manager. This may only be called within a CUDA-Q kernel execution.
runtime/cudaq/qis/execution_manager.h:280
↓ 66 callers
Function
z
This operation implements the transformation defined by the Pauli-Z matrix.
python/cudaq/qis/qis.py:38
↓ 65 callers
Method
canonicalize
runtime/cudaq/operators/sum_op.cpp:1567
↓ 65 callers
Function
depolarization_channel
runtime/common/NoiseModel.h:660
↓ 65 callers
Function
getCircuitSimulatorInternal
@brief Return the single simulation backend pointer, create if not created already. @return
runtime/nvqir/NVQIR.cpp:98
↓ 65 callers
Method
size
Return the number of qubits in this view.
python/cudaq/kernel_types.py:88
↓ 64 callers
Method
split
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/stogo/tools.cc:169
↓ 63 callers
Function
y
This operation implements the transformation defined by the Pauli-Y matrix.
python/cudaq/qis/qis.py:31
↓ 62 callers
Method
add_all_qubit_channel
runtime/common/NoiseModel.cpp:300
↓ 62 callers
Method
getStateVector
unittests/backends/QPPTester.h:30
↓ 62 callers
Method
join
cudaq/lib/Optimizer/Transforms/DecompositionPatternSelection.cpp:52
↓ 62 callers
Function
makeTrajectory
A simple trajectory for testing
unittests/ptsbe/ShotAllocationTester.cpp:16
↓ 62 callers
Method
visit
(self, node)
python/cudaq/kernel/ast_bridge.py:1760
↓ 61 callers
Function
getPointerType
Return the LLVM-IR dialect `ptr` type.
cudaq/include/cudaq/Optimizer/Builder/Factory.h:73
↓ 59 callers
Method
parse
runtime/common/RecordLogParser.cpp:15
↓ 58 callers
Function
init
(n: int)
python/tests/backends/test_IQM.py:323
↓ 58 callers
Function
is_close
(expected, actual)
python/tests/kernel/test_kernel_complex.py:17
↓ 57 callers
Method
cols
runtime/cudaq/operators/matrix.h:213
↓ 57 callers
Method
to_quake
@brief Return the string representation of the quake code.
runtime/cudaq/builder/kernel_builder.h:978
↓ 56 callers
Method
getSampledBitString
unittests/backends/QPPTester.h:19
↓ 56 callers
Method
getTarget
python/utils/LinkedLibraryHolder.cpp:396
↓ 55 callers
Method
cbegin
runtime/common/SampleResult.cpp:309
↓ 55 callers
Method
dump
! @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 callers
Function
emitFatalError
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 callers
Method
format
runtime/common/FmtCore.h:27
↓ 54 callers
Method
getCallee
cudaq/lib/Optimizer/Transforms/LambdaLifting.cpp:323
↓ 54 callers
Method
hasSpecifiedSize
cudaq/lib/Optimizer/Dialect/Quake/QuakeTypes.cpp:83
↓ 54 callers
Method
most_probable
runtime/common/SampleResult.cpp:345
↓ 53 callers
Method
release
realtime/unittests/utils/hololink_fpga_emulator.cpp:318
↓ 52 callers
Method
get
runtime/cudaq/distributed/mpi_plugin.h:31
↓ 52 callers
Method
id
Return the unique id / index for this qudit
runtime/cudaq/qis/qudit.h:49
↓ 52 callers
Method
overlap
runtime/cudaq/qis/state.cpp:109
↓ 51 callers
Method
initialize_cudm
runtime/nvqir/cudensitymat/CuDensityMatState.cpp:541
↓ 50 callers
Method
data
tpls/json/single_include/nlohmann/json.hpp:24239
↓ 50 callers
Method
loadIntrinsic
cudaq/lib/Optimizer/Builder/Intrinsics.cpp:733
↓ 48 callers
Method
apply_noise
Apply a noise channel to the provided qubit or qubits.
python/cudaq/kernel/kernel_builder.py:1643
↓ 48 callers
Function
get
tpls/json/single_include/nlohmann/json.hpp:5618
↓ 48 callers
Function
string_equal
unittests/utils/Matrix.cpp:20
↓ 47 callers
Function
PauliX_matrix
unittests/operators/utils.cpp:158
↓ 47 callers
Function
annihilate
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 callers
Method
parse_error
tpls/json/single_include/nlohmann/json.hpp:4667
↓ 47 callers
Method
popValue
Pop an MLIR Value from the stack.
python/cudaq/kernel/ast_bridge.py:760
↓ 46 callers
Method
dump
runtime/cudaq/platform/qpu_state.cpp:58
↓ 45 callers
Method
generateTrajectories
runtime/cudaq/ptsbe/strategies/OrderedSamplingStrategy.cpp:18
↓ 45 callers
Method
to_host
runtime/cudaq/qis/state.h:138
↓ 45 callers
Method
with_execution_context
runtime/cudaq/platform/platform_iface.cpp:12
↓ 44 callers
Function
PauliY_matrix
unittests/operators/utils.cpp:172
↓ 44 callers
Method
begin
runtime/cudaq/algorithms/schedule.cpp:80
↓ 44 callers
Function
cx
runtime/cudaq/qis/qubit_qis.h:340
↓ 44 callers
Function
get_safe
runtime/cudaq/platform/default/rest/helpers/scaleway/qaas/V1Alpha1Objects.h:19
↓ 43 callers
Method
clone
runtime/nvqir/cudensitymat/MagnusIntegrator.cpp:30
↓ 43 callers
Method
dump
cudaq/lib/Optimizer/Transforms/PhaseFolding.cpp:497
↓ 43 callers
Method
empty
tpls/json/single_include/nlohmann/json.hpp:6654
↓ 43 callers
Function
instantiate
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 callers
Method
num_qpus
Get the number of QPUs available with this platform.
runtime/cudaq/platform/quantum_platform.h:133
↓ 43 callers
Function
sample_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 callers
Method
deallocate
@brief Deallocate the qubit with give unique index
runtime/nvqir/CircuitSimulator.h:270
↓ 42 callers
Function
i
runtime/cudaq/operators/spin_op.cpp:256
↓ 42 callers
Function
type_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 callers
Function
define
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 callers
Function
getZeroState
unittests/backends/QPPTester.cpp:33
↓ 41 callers
Function
to_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 callers
Function
getKernelName
runtime/cudaq/qis/kernel_utils.h:44
↓ 40 callers
Method
key
tpls/json/single_include/nlohmann/json.hpp:9609
↓ 40 callers
Method
to_map
runtime/common/SampleResult.cpp:394
↓ 39 callers
Function
annihilate_matrix
unittests/operators/utils.cpp:94
↓ 39 callers
Function
empty
(var: list[cudaq.pauli_word], varvar: list[float], varvarvar: list[bool])
python/tests/kernel/test_kernel_features.py:1510
↓ 39 callers
Method
getTerminator
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:1984
↓ 39 callers
Function
reset
runtime/cudaq/qis/qubit_qis.h:469
↓ 39 callers
Function
zero_matrix
(size)
python/tests/operator/op_utils.py:13
↓ 38 callers
Function
add
add a character to token_buffer
tpls/json/single_include/nlohmann/json.hpp:8427
↓ 38 callers
Function
expectGroupOps
unittests/Optimizer/UnitaryOpGroupingTest.cpp:48
↓ 38 callers
Method
get_total_shots
@brief Get the total number of shots in the result
runtime/common/SampleResult.h:289
↓ 38 callers
Function
isInNamespace
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 callers
Method
name
unittests/backends/qpp_observe/QPPObserveBackend.cpp:61
↓ 38 callers
Function
rank
runtime/cudaq/cudaq.cpp:118
↓ 37 callers
Function
basic_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 callers
Method
begin
runtime/cudaq/operators/super_op.cpp:71
↓ 37 callers
Method
control
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
← previous
next →
101–200 of 11,928, ranked by callers