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
↓ 16 callers
Function
finalize
runtime/cudaq/cudaq.cpp:216
↓ 16 callers
Function
genConstant
runtime/internal/compiler/ArgumentConversion.cpp:34
↓ 16 callers
Method
getCodeGenSpec
cudaq/lib/Target/TargetConfig.cpp:12
↓ 16 callers
Function
isQuantumType
\returns true if \p `ty` is a quantum value or reference.
cudaq/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h:25
↓ 16 callers
Method
isValid
cudaq/include/cudaq/Support/Handle.h:36
↓ 16 callers
Function
is_array
@brief return whether value is an array @sa https://json.nlohmann.me/api/basic_json/is_array/
tpls/json/single_include/nlohmann/json.hpp:21405
↓ 16 callers
Method
is_constant
runtime/cudaq/operators/scalar_op.cpp:18
↓ 16 callers
Function
position_matrix
(size)
python/tests/operator/op_utils.py:67
↓ 16 callers
Method
post
runtime/common/RestClient.cpp:52
↓ 16 callers
Method
rank
runtime/cudaq/distributed/mpi_plugin.cpp:68
↓ 16 callers
Method
reset
Resets the schedule (iterator) to its starting point.
python/cudaq/dynamics/schedule.py:99
↓ 16 callers
Function
t
This operation applies to its target a π/4 rotation about the Z axis.
python/cudaq/qis/qis.py:52
↓ 15 callers
Function
__quantum__rt__finalize
@brief Finalize the NVQIR library
runtime/nvqir/NVQIR.cpp:302
↓ 15 callers
Method
allocateQubits
@brief Allocate `count` qubits.
runtime/nvqir/CircuitSimulator.h:1022
↓ 15 callers
Function
callback
(x)
python/tests/operator/test_scalar_op.py:45
↓ 15 callers
Function
combine
boost::hash_combine
tpls/json/single_include/nlohmann/json.hpp:6307
↓ 15 callers
Method
count_controls
runtime/common/Resources.cpp:39
↓ 15 callers
Function
createFloatConstant
cudaq/include/cudaq/Optimizer/Builder/Factory.h:183
↓ 15 callers
Method
degrees
runtime/cudaq/operators/product_op.cpp:200
↓ 15 callers
Function
flatten
(ls: list[list[int]])
python/tests/kernel/test_assignments.py:733
↓ 15 callers
Function
getKernelFuncOp
python/utils/OpaqueArguments.h:48
↓ 15 callers
Method
getParent
cudaq/lib/Optimizer/Transforms/LowerUnwind.cpp:70
↓ 15 callers
Function
getResults
(jobId: str)
utils/mock_qpu/ionq/__init__.py:148
↓ 15 callers
Function
get_quake_by_name
runtime/common/DeviceCodeRegistry.cpp:157
↓ 15 callers
Function
isInClassInNamespace
Return true if and only if \p x was declared in the class \p className and that class was furthermore declared in the namespace \p nsName.
cudaq/include/cudaq/Frontend/nvqpp/ASTBridge.h:843
↓ 15 callers
Function
isInTracerMode
runtime/common/ExecutionContext.cpp:23
↓ 15 callers
Function
is_null
@brief return whether value is null @sa https://json.nlohmann.me/api/basic_json/is_null/
tpls/json/single_include/nlohmann/json.hpp:21356
↓ 15 callers
Method
is_unitary_mixture
@brief Returns whether or not this is a unitary mixture.
runtime/common/NoiseModel.h:328
↓ 15 callers
Function
log
runtime/include/cudaq/runtime/logger/logger.h:108
↓ 15 callers
Method
num_qubits
runtime/cudaq/operators/sum_op.cpp:1670
↓ 15 callers
Function
printCounts
targettests/execution/cast.cpp:562
↓ 15 callers
Function
reportCudaError
cudaq/test/NVQPP/Inputs/DeviceCallLibrary.h:295
↓ 15 callers
Function
rz
This operation is an arbitrary rotation about the Z axis, which introduces a relative phase factor of lambda.
python/cudaq/qis/qis.py:73
↓ 15 callers
Function
s
This operation applies to its target a rotation by π/2 about the Z axis.
python/cudaq/qis/qis.py:45
↓ 15 callers
Function
setLogLevel
runtime/logger/logger.cpp:134
↓ 15 callers
Function
set_parents
tpls/json/single_include/nlohmann/json.hpp:20720
↓ 15 callers
Function
size
@brief returns the number of elements @sa https://json.nlohmann.me/api/basic_json/size/
tpls/json/single_include/nlohmann/json.hpp:22986
↓ 14 callers
Method
__setitem__
Adds or updates the given symbol in the symbol table. Automatically adjusts the block association if the given value is a function ar
python/cudaq/kernel/ast_bridge.py:194
↓ 14 callers
Method
begin
runtime/common/SampleResult.cpp:301
↓ 14 callers
Method
compute
runtime/nvqir/cudensitymat/CuDensityMatExpectation.cpp:35
↓ 14 callers
Function
convertMpiCommunicator
Convert the type-erased Comm object
runtime/nvqir/cudensitymat/mpi_support.cpp:59
↓ 14 callers
Method
getConstantIndex
cudaq/lib/Optimizer/Dialect/CC/CCOps.cpp:1006
↓ 14 callers
Function
getConstantInt
cudaq/lib/Frontend/nvqpp/ConvertExpr.cpp:340
↓ 14 callers
Method
getIntegerAttr
Return an MLIR Integer Attribute of the given `IntegerType`.
python/cudaq/kernel/ast_bridge.py:509
↓ 14 callers
Method
getPatternName
unittests/Optimizer/DecompositionPatternSelectionTest.cpp:74
↓ 14 callers
Method
get_channels
runtime/common/NoiseModel.cpp:361
↓ 14 callers
Method
get_coefficient
runtime/cudaq/operators/product_op.cpp:386
↓ 14 callers
Method
get_data
runtime/cudaq/operators/matrix.cpp:77
↓ 14 callers
Function
is_close_array
(actual, expected)
python/tests/kernel/test_run_kernel.py:28
↓ 14 callers
Method
measure_handle
runtime/cudaq/qis/measure_handle.h:45
↓ 14 callers
Method
n_levels
Return this qudit's dimension
runtime/cudaq/qis/qudit.h:52
↓ 14 callers
Function
serialize
(t1: MyTuple, t2: MyTuple, t3: MyTuple)
python/tests/kernel/test_assignments.py:303
↓ 14 callers
Method
to_diagonal_matrix
runtime/cudaq/operators/sum_op.cpp:1831
↓ 14 callers
Function
to_integer
Cast a measure register to an int64_t. This function is classic control code that may run on a QPU.
runtime/cudaq/qis/qubit_qis.h:539
↓ 13 callers
Method
accumulate_inplace
runtime/nvqir/cudensitymat/CuDensityMatState.cpp:623
↓ 13 callers
Function
applySinglePattern
unittests/Optimizer/DecompositionPatternsTest.cpp:224
↓ 13 callers
Function
checkBatchingCompatibility
runtime/nvqir/cudensitymat/CuDensityMatEvolution.cpp:51
↓ 13 callers
Method
convertToCudensitymatOperator
runtime/nvqir/cudensitymat/CuDensityMatOpConverter.cpp:378
↓ 13 callers
Method
debug_msg
(self, msg, node=None)
python/cudaq/kernel/ast_bridge.py:417
↓ 13 callers
Method
for_loop
Add a for loop that starts from the given `start` index, ends at the given `stop` index (non inclusive), applying the provided `funct
python/cudaq/kernel/kernel_builder.py:1504
↓ 13 callers
Method
genCStringLiteralAppendNul
Helper function to create a C-style string from a string that is not already NUL terminated. No checks are made, so if the string already is NUL termi
cudaq/include/cudaq/Optimizer/Builder/Intrinsics.h:104
↓ 13 callers
Method
get
python/runtime/cudaq/algorithms/py_sample_ptsbe.cpp:109
↓ 13 callers
Method
get
! @brief get next character from the input This function provides the interface to the used input adapter. It does not throw in case the
tpls/json/single_include/nlohmann/json.hpp:12553
↓ 13 callers
Function
getMLIRContext
This code creates an MLIRContext singleton for this python process. We do not want to have a brand new context every time Python does somethi
python/cudaq/kernel/utils.py:73
↓ 13 callers
Method
getWires
cudaq/lib/Optimizer/Transforms/RegToMem.cpp:74
↓ 13 callers
Function
get_quake
runtime/cudaq.h:126
↓ 13 callers
Method
is_identity
runtime/cudaq/operators/sum_op.cpp:2164
↓ 13 callers
Function
make_copyable_function
runtime/cudaq/utils/cudaq_utils.h:99
↓ 13 callers
Function
mk_decorator
Make a kernel decorator object from a kernel builder object to make any code that handles both CUDA-Q kernel object classes more unified.
python/cudaq/kernel/kernel_decorator.py:721
↓ 13 callers
Function
observe
runtime/cudaq/algorithms/observe.h:196
↓ 13 callers
Function
qudit
API to define a d-level qudit in a `PhotonicsHandler`. All the qudits within a kernel are of the same level. Args: level (int):
python/cudaq/handlers/photonics_kernel.py:104
↓ 13 callers
Method
size
runtime/common/SampleResult.cpp:317
↓ 13 callers
Function
toAbiStatus
Convert the typed status to integer.
runtime/internal/device_call/include/cudaq_internal/device_call/DeviceCallError.h:30
↓ 13 callers
Function
tracePTSBatch
runtime/cudaq/ptsbe/PTSBESample.h:248
↓ 12 callers
Function
__cudaq_device_call_safely_release_realtime_frame
runtime/internal/device_call/DeviceCallDispatch.cpp:814
↓ 12 callers
Method
__init__
(self, stepper: Optional[BaseTimeStepper[cudaq_runtime.State]] = None, solve
python/cudaq/dynamics/integrators/cuda_torchdiffeq_integrator.py:74
↓ 12 callers
Method
addArgument
Adds a block argument and corresponding ArgDependencyNode to the block
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:2169
↓ 12 callers
Function
arrayToVectorSizeT
@brief Utility function mapping a QIR Array pointer to a vector of ids
runtime/nvqir/NVQIR.cpp:170
↓ 12 callers
Method
back
(self)
python/cudaq/kernel_types.py:105
↓ 12 callers
Method
beginBlock
(self)
python/cudaq/kernel/ast_bridge.py:163
↓ 12 callers
Function
complex_np_use_imag
()
python/tests/kernel/test_kernel_complex.py:167
↓ 12 callers
Function
complex_np_use_real
()
python/tests/kernel/test_kernel_complex.py:159
↓ 12 callers
Function
count
tpls/json/single_include/nlohmann/json.hpp:19977
↓ 12 callers
Function
createClassicalMemToReg
Helper to run the memory to register pass on classical values. Does not convert the quantum code to register (wire) form.
cudaq/include/cudaq/Optimizer/Transforms/Passes.h:104
↓ 12 callers
Function
createSimpleCircuit
unittests/ptsbe/NoiseExtractorTester.cpp:26
↓ 12 callers
Function
createTestModule
Helper function to create a test module with a single gate operation
unittests/Optimizer/DecompositionPatternsTest.cpp:81
↓ 12 callers
Function
create_matrix
runtime/cudaq/operators/helpers.cpp:175
↓ 12 callers
Function
cy
This operation applies a controlled-y operation to the given target qubit, with the provided control qubit/s.
python/cudaq/qis/qis.py:101
↓ 12 callers
Method
define
runtime/cudaq/operators/handler.cpp:26
↓ 12 callers
Method
endBlock
(self)
python/cudaq/kernel/ast_bridge.py:166
↓ 12 callers
Function
export_csv
docs/sphinx/examples/cpp/dynamics/export_csv_helper.h:32
↓ 12 callers
Method
finalize
runtime/cudaq/distributed/mpi_plugin.cpp:127
↓ 12 callers
Function
fnv1a_hash
@brief Compute FNV-1a hash of a string (for function_id). @param str Null-terminated string to hash @return 32-bit hash value
realtime/include/cudaq/realtime/daemon/dispatcher/dispatch_kernel_launch.h:71
↓ 12 callers
Method
get
runtime/cudaq/builder/kernel_builder.h:1028
↓ 12 callers
Method
getConstantFloat
Create a constant float operation and return its MLIR result Value. Takes as input the concrete float value.
python/cudaq/kernel/ast_bridge.py:531
↓ 12 callers
Function
getEnvVar
Retrieve an environment variable
runtime/cudaq/platform/default/rest/helpers/tii/TiiServerHelper.cpp:29
↓ 12 callers
Method
getHeight
Returns the height of this dependency node, based on the # of cycles it will take and the heights of its dependencies
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:383
↓ 12 callers
Function
getMpiPluginInterface
@brief Retrieve the MPI plugin comm interface
runtime/nvqir/cutensornet/mpi_support.cpp:42
↓ 12 callers
Method
get_type_name
runtime/common/NoiseModel.h:323
↓ 12 callers
Function
if
tpls/json/single_include/nlohmann/json.hpp:23686
← previous
next →
401–500 of 11,928, ranked by callers