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
↓ 8 callers
Method
start_object
tpls/json/single_include/nlohmann/json.hpp:9604
↓ 8 callers
Function
test5
(arg: list[int])
python/tests/kernel/test_assignments.py:102
↓ 8 callers
Function
traceFromKernel
runtime/cudaq/algorithms/draw.h:31
↓ 7 callers
Method
AddTrial
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/stogo/tools.cc:103
↓ 7 callers
Method
ExecutionContext
@brief The Constructor, takes the name of the context @param n The name of the context
runtime/common/ExecutionContext.h:34
↓ 7 callers
Function
PreallocatedQubitsContext
Context manager for running simulations with a fixed number of qubits pre-allocated ahead of time. Example: ```python wi
utils/mock_qpu/preallocated_qubits_context.py:15
↓ 7 callers
Method
__arithmetic_to_bool
Converts an integer or floating point value to a bool by comparing it to zero.
python/cudaq/kernel/ast_bridge.py:591
↓ 7 callers
Function
__quantum__qis__cnot
runtime/nvqir/NVQIR.cpp:663
↓ 7 callers
Function
_two_qubit
(method_name)
python/cudaq/contrib/qiskit_convert.py:119
↓ 7 callers
Function
amplitude_damping_channel
runtime/common/NoiseModel.h:701
↓ 7 callers
Function
appendPipelineStage
runtime/internal/compiler/JITTargetPipeline.cpp:13
↓ 7 callers
Function
assert_close
(want, got, tolerance=1.e-4)
python/tests/builder/test_observe.py:17
↓ 7 callers
Function
bitWidth
cudaq/lib/Optimizer/Transforms/LoopAnalysis.cpp:210
↓ 7 callers
Method
cachedCompiledModule
Return the kernel's CompiledModule cache slot, creating an empty one on first access.
python/cudaq/kernel/kernel_builder.py:1716
↓ 7 callers
Function
compares_unordered
tpls/json/single_include/nlohmann/json.hpp:23715
↓ 7 callers
Method
createNode
Creates a new node in the graph and returns its unique identifier.
cudaq/include/cudaq/ADT/GraphCSR.h:44
↓ 7 callers
Function
crx
This operation applies a `controlled-rx` operation to the given target qubit, with the provided control qubit/s.
python/cudaq/qis/qis.py:143
↓ 7 callers
Function
debug_the_thing
cudaq/test/AST-Quake/struct-1.cpp:26
↓ 7 callers
Function
decodeBase64
runtime/cudaq/platform/default/rest/helpers/scaleway/qio/Base64.cpp:18
↓ 7 callers
Function
dirinsert_
+-----------------------------------------------------------------------+ */ | SUBROUTINE DIRInsert |
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/direct/DIRsubrout.c:648
↓ 7 callers
Function
displace_matrix
(size, ampl)
python/tests/operator/op_utils.py:82
↓ 7 callers
Function
displace_matrix
unittests/operators/utils.cpp:142
↓ 7 callers
Function
dump_double_vector
targettests/SeparateCompilation/arith_spans.cpp:53
↓ 7 callers
Method
empty
cudaq/lib/Optimizer/Transforms/LowerUnwind.cpp:57
↓ 7 callers
Function
evolve_async
runtime/cudaq/algorithms/evolve.h:542
↓ 7 callers
Function
from_state
runtime/cudaq/builder/kernels.h:62
↓ 7 callers
Method
from_word
runtime/cudaq/operators/sum_op.cpp:1722
↓ 7 callers
Method
generateUnitaryParameters
@brief Checks if Kraus ops have unitary representations and saves them if they do. Users should only need to call this if they have modified the Kraus
runtime/common/NoiseModel.h:333
↓ 7 callers
Function
generate_all_states
runtime/cudaq/operators/helpers.cpp:25
↓ 7 callers
Method
getBlockGraph
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:1982
↓ 7 callers
Method
getClassAttributes
@brief Find registered data class object and its attributes
python/runtime/cudaq/algorithms/py_utils.h:49
↓ 7 callers
Method
getDependencyForQID
Returns the index of the dependency for \p qid in this node, if such an index exists
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:403
↓ 7 callers
Function
getMyTuple
(arg: cudaq.qview)
python/tests/mlir/ast_structs_and_tuples.py:118
↓ 7 callers
Method
getNumQubits
@brief Number of qubits that this state represents.
runtime/nvqir/cutensornet/tensornet_state.h:223
↓ 7 callers
Method
get_marginal
runtime/common/SampleResult.cpp:399
↓ 7 callers
Function
get_state_async
Asynchronously retrieve the state generated by the given quantum kernel. When targeting a quantum platform with more than one QPU, the optio
python/cudaq/runtime/state.py:55
↓ 7 callers
Method
get_tensor
runtime/cudaq/qis/state.cpp:48
↓ 7 callers
Function
get_value
unittests/operators/scalar_op.cpp:13
↓ 7 callers
Function
hololink_destroy_transceiver
realtime/lib/daemon/bridge/hololink/hololink_wrapper.cpp:74
↓ 7 callers
Method
identity
runtime/cudaq/operators/sum_op.cpp:1347
↓ 7 callers
Method
inSameGroup
cudaq/lib/Optimizer/Analysis/UnitaryOpGrouping.cpp:93
↓ 7 callers
Function
isArithmeticType
cudaq/lib/Frontend/nvqpp/ConvertType.cpp:21
↓ 7 callers
Method
isQuantumDependent
Returns true if this node is a quantum operation/value or has a quantum operation as an ancestor. In fact, after inlining, Canonicalization, and CSE,
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:389
↓ 7 callers
Method
isSinglePrecision
runtime/nvqir/CircuitSimulator.h:990
↓ 7 callers
Method
is_initialized
runtime/nvqir/cudensitymat/CuDensityMatState.cpp:485
↓ 7 callers
Method
is_on_gpu
runtime/cudaq/qis/state.cpp:46
↓ 7 callers
Method
is_simulator
runtime/cudaq/platform/quantum_platform.cpp:233
↓ 7 callers
Method
jitCode
@brief Lower the Quake code to the LLVM Dialect, call `PassManager`.
runtime/cudaq/builder/kernel_builder.h:981
↓ 7 callers
Function
loadHandleVectorIfPointer
Same intent as `loadHandleIfPointer`, but for the bulk-discriminate / `to_integer` / range-for / qec.{detector,observable,pair_detectors} paths where
cudaq/include/cudaq/Frontend/nvqpp/ASTBridge.h:66
↓ 7 callers
Function
mapToRawArgs
unittests/Optimizer/QuakeSynthTester.cpp:41
↓ 7 callers
Function
measureIndexAsResultPtr
@brief Encode an `int64_t` chronological measurement index as the `Result*` bit pattern the QIR ABI delivers to the QEC runtime adapter. Mirrors the l
unittests/backends/StimTester.cpp:61
↓ 7 callers
Function
mlirTryCreateStructType
Creates either a `quake.StruqType` or a `cc.StructType` used to represent tuples and `dataclass` structs of quantum and classical types. Ret
python/cudaq/kernel/utils.py:355
↓ 7 callers
Method
mx
Measure the given qubit or qubits in the X-basis. The optional `register_name` may be used to retrieve results of this measurement
python/cudaq/kernel/kernel_builder.py:1177
↓ 7 callers
Method
my
Measure the given qubit or qubits in the Y-basis. The optional `register_name` may be used to retrieve results of this measurement
python/cudaq/kernel/kernel_builder.py:1209
↓ 7 callers
Method
name
runtime/nvqir/Gates.h:192
↓ 7 callers
Function
nlopt_add_equality_constraint
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:661
↓ 7 callers
Function
nlopt_add_inequality_constraint
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:591
↓ 7 callers
Function
nlopt_count_constraints
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/stop.c:161
↓ 7 callers
Function
nlopt_genrand_int32
generates a random number on [0,0xffffffff]-interval */
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/mt19937ar.c:96
↓ 7 callers
Function
nlopt_istiny
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/stop.c:241
↓ 7 callers
Function
nlopt_stop_ftol
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/stop.c:88
↓ 7 callers
Function
nlopt_urand
generate uniform random number in [a,b) with 53-bit resolution, added by SGJ */
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/mt19937ar.c:203
↓ 7 callers
Method
parse_from_ast
Parse the signature of a CUDA-Q kernel from a Python AST. This does not perform any capture analysis (typically done during MLIR
python/cudaq/kernel/kernel_signature.py:89
↓ 7 callers
Method
ringbuffer
runtime/internal/device_call/include/cudaq_internal/device_call/RingBufferWrapper.h:112
↓ 7 callers
Method
runPassPipeline
runtime/internal/compiler/Compiler.cpp:398
↓ 7 callers
Function
runQuakeSynth
@brief Run the Quake Synth pass on the given kernel with provided runtime args.
unittests/Optimizer/QuakeSynthTester.cpp:53
↓ 7 callers
Function
sample
runtime/cudaq/ptsbe/PTSBESample.h:350
↓ 7 callers
Method
size
runtime/common/KernelWrapper.h:92
↓ 7 callers
Function
squeeze_matrix
(size, ampl)
python/tests/operator/op_utils.py:75
↓ 7 callers
Function
starts_with
realtime/unittests/cpu_transport/hsb_bridge_cpu.cpp:74
↓ 7 callers
Function
starts_with
unittests/device_call/cpu_roce_test_daemon.cpp:207
↓ 7 callers
Method
synchronize
@brief Perform any flushing or synchronization to force that all previously applied gates have truly been applied by the underlying simulator.
runtime/nvqir/CircuitSimulator.h:159
↓ 7 callers
Function
test3
(arg: list[int])
python/tests/kernel/test_assignments.py:69
↓ 7 callers
Function
trim
trim from both ends (in place)
runtime/cudaq/utils/cudaq_utils.h:304
↓ 7 callers
Function
u3
runtime/cudaq/builder/kernel_builder.cpp:768
↓ 7 callers
Method
uccsd
python/tests/interop/quantum_lib/quantum_lib.cpp:32
↓ 7 callers
Method
update
(self, metadata)
python/metapackages/hatch_build.py:233
↓ 7 callers
Method
updateQID
Recursively replaces \p old_qid with \p new_qid for this node and its successors
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:559
↓ 7 callers
Function
validate
Validate if a notebook can run with the available backends. This function is fallback-aware: if a notebook has multiple set_target()
docs/notebook_validation.py:58
↓ 7 callers
Function
y
runtime/cudaq/operators/spin_op.cpp:262
↓ 6 callers
Function
_check_args
Utility function to verify the arguments to a photonic quantum operation. Args: q: A single instance or a list of objects of `PyQudi
python/cudaq/handlers/photonics_kernel.py:82
↓ 6 callers
Method
addEdge
cudaq/include/cudaq/ADT/GraphCSR.h:50
↓ 6 callers
Function
add_single_excitation
(op, p_occ, q_virt)
docs/sphinx/applications/python/qchem/uccsd.py:120
↓ 6 callers
Function
adjustedDeallocArg
cudaq/lib/Optimizer/Transforms/LowerUnwind.cpp:326
↓ 6 callers
Function
all_reduce
runtime/cudaq/cudaq_mpi.h:55
↓ 6 callers
Method
another
python/tests/interop/quantum_lib/quantum_lib.cpp:28
↓ 6 callers
Function
asCudmState
python/runtime/cudaq/dynamics/pyDynamics.cpp:27
↓ 6 callers
Function
assert_close
(want, got, tolerance=1.0e-1)
python/tests/backends/test_Quantinuum_LocalEmulation_kernel.py:28
↓ 6 callers
Function
bar
()
python/tests/mlir/invalid_subrange.py:17
↓ 6 callers
Method
beginSpan
runtime/logger/tracer.cpp:97
↓ 6 callers
Method
binary
tpls/json/single_include/nlohmann/json.hpp:9599
↓ 6 callers
Function
buildPTSBETrace
runtime/cudaq/ptsbe/PTSBESample.cpp:167
↓ 6 callers
Function
cend
@brief returns an iterator to one past the last element @sa https://json.nlohmann.me/api/basic_json/cend/
tpls/json/single_include/nlohmann/json.hpp:22850
↓ 6 callers
Function
checkAndExtractControls
Check whether the operation has the correct number of controls. This function take as input a mutable array reference, `controls`, which must have the
cudaq/lib/Optimizer/Transforms/DecompositionPatterns.cpp:290
↓ 6 callers
Function
check_state
(matrix, state)
python/tests/custom/test_euler_decomposition.py:24
↓ 6 callers
Method
clear
runtime/cudaq/operators/matrix.h:241
↓ 6 callers
Function
closevec
targettests/Kernel/signature-1.cpp:37
↓ 6 callers
Method
codeGen
Generates code for the block arguments, body, and terminator. It is up to the caller to move the insertion point of \p builder outside the block afte
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:2040
↓ 6 callers
Function
complex_vec_param
(vec: list[complex], i: int)
python/tests/kernel/test_kernel_complex.py:28
↓ 6 callers
Function
convertToOrderedMap
runtime/nvqir/cudensitymat/CuDensityMatEvolution.cpp:25
← previous
next →
701–800 of 11,928, ranked by callers