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
↓ 37 callers
Function
createArrayGpu
runtime/nvqir/cudensitymat/CuDensityMatUtils.h:78
↓ 36 callers
Function
PauliZ_matrix
unittests/operators/utils.cpp:165
↓ 36 callers
Function
allocateShots
runtime/cudaq/ptsbe/ShotAllocationStrategy.cpp:135
↓ 36 callers
Method
end
runtime/cudaq/algorithms/schedule.cpp:84
↓ 36 callers
Method
getConstantInt
Create a constant integer operation and return its MLIR result Value. Takes as input the concrete integer value. Can specify the integer bit
python/cudaq/kernel/ast_bridge.py:582
↓ 36 callers
Method
number
runtime/cudaq/operators/sum_op.cpp:1386
↓ 36 callers
Method
string
tpls/json/single_include/nlohmann/json.hpp:9594
↓ 35 callers
Method
add
( self: OperatorEvaluation, op1: OperatorSum | ProductOperator | NumericType, op2: Ope
python/cudaq/operators/manipulation.py:77
↓ 35 callers
Method
annihilate
runtime/cudaq/operators/sum_op.cpp:1451
↓ 35 callers
Method
appendInstruction
runtime/common/Trace.cpp:14
↓ 35 callers
Function
cmat_to_numpy
python/runtime/cudaq/operators/py_helpers.cpp:49
↓ 35 callers
Function
convertOps
runtime/cudaq/algorithms/evolve.h:46
↓ 35 callers
Method
front
(self)
python/cudaq/kernel_types.py:93
↓ 35 callers
Method
getValue
runtime/cudaq/builder/QuakeValue.cpp:266
↓ 35 callers
Function
reportClangError
cudaq/include/cudaq/Frontend/nvqpp/ASTBridge.h:38
↓ 34 callers
Method
detector
Define a detector over one or more measurement results. A detector is a parity constraint: under noise-free execution the XOR of the
python/cudaq/kernel/kernel_builder.py:1261
↓ 34 callers
Function
is_object
@brief return whether value is an object @sa https://json.nlohmann.me/api/basic_json/is_object/
tpls/json/single_include/nlohmann/json.hpp:21398
↓ 34 callers
Method
set_noise
runtime/cudaq/platform/quantum_platform.cpp:73
↓ 33 callers
Function
check
(c: any)
python/tests/kernel/test_kernel_complex.py:591
↓ 33 callers
Function
initialize
runtime/cudaq/cudaq.cpp:104
↓ 33 callers
Method
optimize
runtime/cudaq/algorithms/optimizers/ensmallen/ensmallen.cpp:66
↓ 33 callers
Function
set_noise
runtime/cudaq/cudaq.cpp:251
↓ 33 callers
Method
write
runtime/common/KernelWrapper.h:35
↓ 32 callers
Function
create_matrix
unittests/operators/utils.cpp:101
↓ 32 callers
Function
kron
@brief Compute the Kronecker product of two matrices @param A First matrix @param rowsA Number of rows in matrix A @param colsA Number of columns in
runtime/common/NoiseModel.h:38
↓ 32 callers
Method
size
runtime/cudaq/builder/QuakeValue.cpp:177
↓ 31 callers
Method
__groupValues
Helper function that visits the given AST nodes (`pyvals`), and groups them according to the specified list. The list contains integers
python/cudaq/kernel/ast_bridge.py:1542
↓ 31 callers
Function
assert_close
(want, got, tolerance=1.0e-5)
python/tests/backends/test_IQM.py:35
↓ 31 callers
Method
data
runtime/common/KernelWrapper.h:64
↓ 31 callers
Function
getOneState
unittests/backends/QPPTester.cpp:40
↓ 31 callers
Function
info
runtime/logger/logger.cpp:105
↓ 31 callers
Function
kwargs_to_param_map
python/runtime/cudaq/operators/py_helpers.cpp:18
↓ 30 callers
Function
__quantum__rt__array_get_element_ptr_1d
runtime/nvqir/QIRTypes.cpp:156
↓ 30 callers
Function
control
Apply the general control version of the given kernel at the provided runtime arguments.
python/cudaq/qis/qis.py:213
↓ 30 callers
Method
create
runtime/cudaq/operators/sum_op.cpp:1446
↓ 30 callers
Function
is_initialized
runtime/cudaq/cudaq.cpp:122
↓ 30 callers
Function
mlirTypeFromPyType
(argType, ctx, **kwargs)
python/cudaq/kernel/utils.py:627
↓ 30 callers
Function
nlopt_unset_errmsg
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:986
↓ 30 callers
Method
selectWiresAndReplaceUses
Pluck out the values from \p newValues whose type is `WireType` and replace all the \p op uses with those values.
cudaq/lib/Optimizer/Transforms/DecompositionPatterns.cpp:103
↓ 29 callers
Method
changeOperandToType
Change the type of an operand to a specified type. This function primarily handles type conversions and promotions to higher types (c
python/cudaq/kernel/ast_bridge.py:616
↓ 29 callers
Method
compute
(self, state: TState, t: float)
python/cudaq/dynamics/integrator.py:21
↓ 29 callers
Function
createConstant
cudaq/lib/Optimizer/Transforms/DecompositionPatterns.cpp:38
↓ 29 callers
Function
estimate_resources
Performs resource counting on the given quantum kernel expression and returns an accounting of how many times each gate was applied, in addit
python/cudaq/runtime/resource_count.py:15
↓ 29 callers
Method
getBufferPtr
runtime/common/RecordLogParser.h:93
↓ 29 callers
Function
isa_kernel_decorator
Return True if and only if object is an instance of PyKernelDecorator.
python/cudaq/kernel/kernel_decorator.py:750
↓ 29 callers
Method
size
runtime/cudaq/domains/chemistry/molecule.h:33
↓ 29 callers
Function
unset_noise
runtime/cudaq/cudaq.cpp:256
↓ 28 callers
Function
end
@brief returns an iterator to one past the last element @sa https://json.nlohmann.me/api/basic_json/end/
tpls/json/single_include/nlohmann/json.hpp:22834
↓ 28 callers
Function
getValueOrDefault
runtime/cudaq/platform/default/rest/helpers/scaleway/ScalewayServerHelper.cpp:31
↓ 28 callers
Function
get_token_string
return the last read token (for errors only). Will never contain EOF (an arbitrary value that is not a valid char value, often -1), because 255 may l
tpls/json/single_include/nlohmann/json.hpp:8479
↓ 28 callers
Function
num_ranks
runtime/cudaq/cudaq.cpp:120
↓ 28 callers
Function
swap
(arr, index1, index2)
python/tests/kernel/test_kernel_qvector_init.py:25
↓ 27 callers
Method
amplitude
runtime/cudaq/qis/state.cpp:113
↓ 27 callers
Method
apply
The goal for apply is to create a new element of the instruction queue (a tuple).
runtime/cudaq/qis/managers/BasicExecutionManager.h:158
↓ 27 callers
Method
getState
runtime/nvqir/cudensitymat/MagnusIntegrator.cpp:45
↓ 27 callers
Method
logical_observable
Define a logical observable over one or more measurement results. ``observable_index`` selects which logical qubit observable this ca
python/cudaq/kernel/kernel_builder.py:1279
↓ 26 callers
Method
add
runtime/cudaq/operators/evaluation.cpp:81
↓ 26 callers
Method
apply_call
Apply a call to the given `target` kernel within the function-body of `self` at the provided target arguments. Args:
python/cudaq/kernel/kernel_builder.py:1389
↓ 26 callers
Function
asCudmState
runtime/nvqir/cudensitymat/CuDensityMatEvolution.cpp:198
↓ 26 callers
Function
bit_flip_channel
runtime/common/NoiseModel.h:735
↓ 26 callers
Function
end
@brief Get iterator to end of operator terms
runtime/cudaq/operators.h:154
↓ 26 callers
Method
get_impl
runtime/nvqir/cudensitymat/CuDensityMatState.cpp:527
↓ 26 callers
Method
has_execution_data
runtime/cudaq/ptsbe/PTSBESampleResult.cpp:35
↓ 26 callers
Method
is_density_matrix
runtime/nvqir/cudensitymat/CuDensityMatState.cpp:487
↓ 26 callers
Method
mul
( self: OperatorEvaluation, op1: OperatorSum | ProductOperator | NumericType, op2: Ope
python/cudaq/operators/manipulation.py:70
↓ 26 callers
Function
nlopt_destroy
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:36
↓ 26 callers
Function
nlopt_isinf
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/stop.c:219
↓ 26 callers
Function
number_matrix
(size)
python/tests/operator/op_utils.py:57
↓ 25 callers
Method
GetLength
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/stogo/linalg.h:61
↓ 25 callers
Function
_log
(msg: str)
python/metapackages/hatch_build.py:17
↓ 25 callers
Function
check_equals
(op, expected, expected_type)
python/tests/operator/test_conversions.py:40
↓ 25 callers
Function
evolveBatched
runtime/nvqir/cudensitymat/CuDensityMatEvolution.cpp:501
↓ 25 callers
Method
getBufferSize
Get the size (in bytes) of the buffer needed to hold the result value.
runtime/common/CompiledModule.h:92
↓ 25 callers
Function
getMpiPlugin
runtime/cudaq/cudaq.cpp:32
↓ 25 callers
Method
getOrAssignName
Return the existing name for a value, or assign `name` to it.
cudaq/include/cudaq/Optimizer/CodeGen/Emitter.h:67
↓ 25 callers
Method
sub
! @brief returns x - y @pre x.e == y.e and x.f >= y.f */
tpls/json/single_include/nlohmann/json.hpp:17690
↓ 24 callers
Function
__quantum__qis__mz
runtime/nvqir/NVQIR.cpp:695
↓ 24 callers
Function
anticommutator
(ad, a)
python/tests/operator/test_fermion_op.py:48
↓ 24 callers
Method
asMLIR
@brief Return the MLIR value
runtime/cudaq/builder/QuakeValue.cpp:64
↓ 24 callers
Function
commutator
(ad, a)
python/tests/operator/test_boson_op.py:56
↓ 24 callers
Function
convertType
runtime/cudaq/distributed/builtin/mpi_comm_impl.cpp:39
↓ 24 callers
Function
copy
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/stogo/linalg.cc:101
↓ 24 callers
Method
count_instructions
runtime/cudaq/ptsbe/PTSBEExecutionData.cpp:40
↓ 24 callers
Method
counts
@brief Return the counts data for the given spin_op
runtime/common/ObserveResult.h:83
↓ 24 callers
Function
createSimpleNoisePoints
unittests/ptsbe/PTSSamplingStrategyTester.cpp:45
↓ 24 callers
Method
getGroupContainingOp
cudaq/lib/Optimizer/Analysis/UnitaryOpGrouping.cpp:63
↓ 24 callers
Method
get_term_id
runtime/cudaq/operators/product_op.cpp:378
↓ 24 callers
Function
input_adapter
tpls/json/single_include/nlohmann/json.hpp:6874
↓ 24 callers
Function
zero_matrix
unittests/operators/utils.cpp:82
↓ 23 callers
Function
adjoint
Apply the adjoint of the given kernel at the provided runtime arguments.
python/cudaq/qis/qis.py:206
↓ 23 callers
Function
device_call
runtime/cudaq/driver/device.h:18
↓ 23 callers
Method
getArgs
cudaq/lib/Optimizer/Transforms/LambdaLifting.cpp:334
↓ 23 callers
Function
getEnvBool
@brief Helper function to get boolean environment variable
runtime/common/Environment.cpp:16
↓ 23 callers
Function
getInitialType
cudaq/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp:445
↓ 23 callers
Function
is_close
(expected, actual)
python/tests/kernel/test_kernel_float.py:17
↓ 23 callers
Method
left_multiply
runtime/cudaq/operators/super_op.cpp:17
↓ 23 callers
Function
qubitToQuditInfo
Convert a qubit to its unique id representation
runtime/cudaq/qis/qubit_qis.h:54
↓ 23 callers
Function
qubitToSizeT
@brief Utility function mapping a QIR Qubit pointer to its id
runtime/nvqir/NVQIR.cpp:186
↓ 22 callers
Method
adjoint
Apply the adjoint of the `target` kernel in-place to `self`. Args: target (:class:`Kernel`): The kernel to take the adjoint
python/cudaq/kernel/kernel_builder.py:1324
↓ 22 callers
Method
clear
runtime/common/Resources.cpp:181
← previous
next →
201–300 of 11,928, ranked by callers