MCPcopy Create free account

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

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

↓ 5 callersFunctioncommonInvokeWithRotationsControlsTargets
This is the generalized version of invoke that does not use a va_list argument. It provides a general interface to allow invoking a general quantum op
runtime/nvqir/NVQIR.cpp:1271
↓ 5 callersFunctioncompileAndDump
Compile \p quake and print the resulting MLIR module to stdout.
cudaq/test/CompileTarget/test_compile_target.cpp:30
↓ 5 callersFunctioncompileAndDump
Compile \p quake and print the resulting MLIR module to stdout.
runtime/test/test_compile_target.cpp:30
↓ 5 callersFunctioncomplex_vec_definition_imag
(i: int)
python/tests/kernel/test_kernel_complex.py:91
↓ 5 callersFunctioncomplex_vec_definition_real
(i: int)
python/tests/kernel/test_kernel_complex.py:83
↓ 5 callersMethodcomputeAllPairShortestPaths
Compute the shortest path between every qubit. This assumes that there exists at least one path between every source and destination pair. I.e. the gr
cudaq/include/cudaq/Support/Device.h:220
↓ 5 callersFunctioncomputeTotalTrajectories
@brief Compute total trajectory space with overflow protection Calculates the `combinatoric` product of operator counts across all noise points. For
runtime/cudaq/ptsbe/PTSSamplingStrategy.h:51
↓ 5 callersFunctioncontainsControlTypes
@brief Returns true if \p op contains any `ControlType` operands.
cudaq/lib/Optimizer/Transforms/DecompositionPatterns.cpp:57
↓ 5 callersMethodcontractAllocsPass
If a wire's first and last use inside a block is in an `if`, move the alloc/de-alloc into both the then and else blocks (separately) of the `if`, whic
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:584
↓ 5 callersMethodconvert
runtime/common/RecordLogParser.h:66
↓ 5 callersFunctionconvertCudaToMpiDataType
Convert cutensornet CUDA datatype enum
runtime/nvqir/cutensornet/mpi_support.cpp:124
↓ 5 callersMethodcreate
cudaq/lib/Optimizer/Transforms/DecompositionPatterns.cpp:129
↓ 5 callersMethodcreateForLoop
(self, argTypes, bodyBuilder, inputs,
python/cudaq/kernel/ast_bridge.py:1356
↓ 5 callersFunctioncreateGlobalCString
cudaq/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp:91
↓ 5 callersMethodcreateInvariantForLoop
Create an invariant loop using the CC dialect.
python/cudaq/kernel/ast_bridge.py:1421
↓ 5 callersMethodcreateName
Returns a new name by combining `prefix` and the number of values in scope
cudaq/include/cudaq/Optimizer/CodeGen/Emitter.h:60
↓ 5 callersFunctioncudaq_dispatcher_set_function_table
realtime/lib/daemon/dispatcher/cudaq_realtime_api.cpp:145
↓ 5 callersFunctioncudaq_dispatcher_set_ringbuffer
realtime/lib/daemon/dispatcher/cudaq_realtime_api.cpp:136
↓ 5 callersMethoddeallocateQubits
runtime/nvqir/CircuitSimulator.h:1069
↓ 5 callersFunctiondem_from_kernel
Generate a detector error model (DEM) from a CUDA-Q kernel. Runs `kernel` under the internal `"dem"` execution context, captures the recorded
python/cudaq/runtime/dem.py:25
↓ 5 callersFunctiondistributeComputations
@brief Distribute the expectation value computations among the available platform QPUs. The `asyncLauncher` functor takes as input the QPU index and t
runtime/cudaq/algorithms/observe.h:160
↓ 5 callersFunctiondraw
The CUDA-Q specification overloads draw. To meet that, this function uses parameter type checking. The two overloads for `cudaq.draw` are:
python/cudaq/runtime/draw.py:29
↓ 5 callersFunctionelimdim_shrink
modify v to "shrunk" version, with dimensions for lb[i] == ub[i] elim'ed */
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/optimize.c:125
↓ 5 callersFunctionencodeBase64
runtime/cudaq/platform/default/rest/helpers/scaleway/qio/Base64.cpp:14
↓ 5 callersMethodend
runtime/cudaq/utils/cudaq_utils.h:91
↓ 5 callersFunctionenvOrNull
unittests/device_call/CpuRoceChannelTester.cpp:80
↓ 5 callersFunctionescape
tpls/json/single_include/nlohmann/json.hpp:3117
↓ 5 callersMethodfermionic_swap
Add Fermionic SWAP rotation kernel (phi angle as a QuakeValue) to the kernel builder object.
python/cudaq/kernel/kernel_builder.py:987
↓ 5 callersFunctionfilterArgs
cudaq/lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp:62
↓ 5 callersFunctionfinalizeRuntime
unittests/device_call/DeviceCallDispatchTester.cpp:219
↓ 5 callersFunctionflushLogs
runtime/logger/logger.cpp:140
↓ 5 callersMethodgenVectorOfConstants
cudaq/lib/Optimizer/Builder/Intrinsics.cpp:856
↓ 5 callersFunctionger
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/stogo/linalg.cc:193
↓ 5 callersMethodgetConstantFloat
Create a constant float operation and return its MLIR result Value. Takes as input the concrete float value.
python/cudaq/kernel/kernel_builder.py:364
↓ 5 callersFunctiongetDefaultPythonCompileTarget
runtime/cudaq/platform/quantum_platform.cpp:124
↓ 5 callersMethodgetFirstUseOfQID
Returns the first use of the virtual wire \p qid, or nullptr if \p qid is unused in the graph. TODO: could make this a little safer by having a separa
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:1322
↓ 5 callersMethodgetFloatType
Return an MLIR float type (single or double precision).
python/cudaq/kernel/kernel_builder.py:349
↓ 5 callersMethodgetKey
runtime/internal/compiler/JIT.cpp:303
↓ 5 callersFunctiongetLinearExpr
TODO: consider caching the results.
cudaq/lib/Optimizer/Transforms/LoopAnalysis.cpp:126
↓ 5 callersMethodgetNumNodes
cudaq/include/cudaq/ADT/GraphCSR.h:58
↓ 5 callersFunctiongetResourceCounterSimulator
runtime/nvqir/resourcecounter/ResourceCounter.cpp:19
↓ 5 callersFunctiongetReturnType
Get the return type of a kernel FuncOp. Returns a null Type if the kernel returns void or has more than one result (unsupported).
cudaq/include/cudaq/Optimizer/Builder/Runtime.h:28
↓ 5 callersMethodgetTensor
@brief Return the tensor at the given index. Throws for an invalid tensor index.
runtime/nvqir/custatevec/CuStateVecState.h:225
↓ 5 callersFunctiongetTuple
(arg: cudaq.qview)
python/tests/mlir/ast_structs_and_tuples.py:152
↓ 5 callersMethodget_channel
runtime/common/NoiseModel.h:514
↓ 5 callersMethodget_character
std::istream/std::streambuf use std::char_traits<char>::to_int_type, to ensure that std::char_traits<char>::eof() and the character 0xFF do not end up
tpls/json/single_include/nlohmann/json.hpp:6574
↓ 5 callersMethodget_spin
runtime/common/ObserveResult.h:111
↓ 5 callersFunctionget_uccsd_excitations
@brief Given the number of electrons and qubits that make up the system, return the single and double excitation indices.
runtime/cudaq/domains/chemistry/uccsd.h:31
↓ 5 callersFunctionhasCharacteristic
cudaq/include/cudaq/Optimizer/Dialect/Characteristics.h:27
↓ 5 callersMethodhasTerminator
Return True if the given Block has a Terminator operation.
python/cudaq/kernel/ast_bridge.py:804
↓ 5 callersFunctionhashCombine
Referred from `runtime/cudaq/operators/helpers.cpp`
runtime/cudaq/ptsbe/TrajectoryDeduplication.cpp:21
↓ 5 callersMethodidFromValue
cudaq/lib/Optimizer/Transforms/RegToMem.cpp:68
↓ 5 callersMethodinitialize
runtime/cudaq/distributed/mpi_plugin.cpp:58
↓ 5 callersFunctionisCNOT
AXIS-SPECIFIC: could allow controlled y and z here
cudaq/lib/Optimizer/Transforms/PhaseFolding.cpp:32
↓ 5 callersMethodisEmpty
Returns true if and only if there are no remaining stack frames.
python/cudaq/kernel/ast_bridge.py:337
↓ 5 callersFunctionisQuakeOperation
Is \p op in the Quake dialect?
cudaq/include/cudaq/Optimizer/Dialect/Quake/QuakeOps.h:70
↓ 5 callersFunctionisQuakeType
\returns true if \p `ty` is a Quake type.
cudaq/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h:33
↓ 5 callersMethodisQuantumType
Return True if the given type is quantum (is a `VeqType` or `RefType`). Return False otherwise.
python/cudaq/kernel/ast_bridge.py:480
↓ 5 callersMethodisRoot
Returns true if \p this is a graph root (has no successors, e.g., a wire de-alloc)
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:367
↓ 5 callersFunctionisX86_64
cudaq/lib/Frontend/nvqpp/ASTBridge.cpp:505
↓ 5 callersMethodis_begin
return whether the iterator can be dereferenced
tpls/json/single_include/nlohmann/json.hpp:13452
↓ 5 callersFunctionisa_dynamic_kernel
Return True if and only if object is an instance of PyKernel.
python/cudaq/kernel/kernel_builder.py:1931
↓ 5 callersMethodlaunch_args_required
This is a deeper query on the quake module. The quake module may have been specialized such that none of the arguments are, in fact,
python/cudaq/kernel/kernel_decorator.py:613
↓ 5 callersFunctionmake_bell_builder
()
python/tests/builder/test_translate.py:15
↓ 5 callersFunctionminus
runtime/cudaq/operators/spin_op.cpp:272
↓ 5 callersFunctionmlirTypeToPyType
(argType)
python/cudaq/kernel/utils.py:767
↓ 5 callersMethodname
@brief Returns the name of the server helper.
runtime/common/BraketServerHelper.h:28
↓ 5 callersFunctionnlopt_add_inequality_mconstraint
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:556
↓ 5 callersFunctionnlopt_init_genrand
initializes mt[N] with a seed */
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/mt19937ar.c:80
↓ 5 callersFunctionnlopt_optimize
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/optimize.c:483
↓ 5 callersFunctionnlopt_rb_tree_find
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:223
↓ 5 callersFunctionnlopt_rb_tree_init
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:36
↓ 5 callersFunctionnlopt_rb_tree_max
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:313
↓ 5 callersFunctionnlopt_rb_tree_min
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:305
↓ 5 callersFunctionnlopt_rb_tree_pred
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:340
↓ 5 callersFunctionnlopt_remove_equality_constraints
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:596
↓ 5 callersFunctionnlopt_remove_inequality_constraints
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:485
↓ 5 callersFunctionnlopt_set_munge
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/api/options.c:955
↓ 5 callersFunctionopenvec
targettests/Kernel/signature-2.cpp:21
↓ 5 callersMethodouter
()
python/tests/kernel/test_deferred_compilation.py:404
↓ 5 callersMethodparse
! @brief public parser interface @param[in] strict whether to expect the last token to be EOF @param[in,out] result parsed JSON val
tpls/json/single_include/nlohmann/json.hpp:12951
↓ 5 callersMethodperformAnalysis
Recursively schedules nodes and performs lifetime analysis to allocate physical qubits for virtual wires, working inside out. For `IfDependencyNode`s,
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:610
↓ 5 callersFunctionpermute_matrix
runtime/cudaq/operators/helpers.cpp:121
↓ 5 callersMethodpower
Calculate the power of a given matrix, `powers` times.
runtime/cudaq/operators/matrix.cpp:369
↓ 5 callersFunctionprintCounts
targettests/execution/qvector_init_from_state_builder.cpp:19
↓ 5 callersFunctionprintCounts
targettests/execution/qvector_init_from_state_c_func.cpp:27
↓ 5 callersFunctionprintCounts
targettests/execution/qvector_init_from_state.cpp:31
↓ 5 callersFunctionproduct_op
@brief Default constructor for the product_op class.
runtime/cudaq/operators.h:1079
↓ 5 callersFunctionrecover_value_of_or_none
Recover the Python value of the symbol `name` from the enclosing context. The enclosing context is the context in which the `PyKernelDecorato
python/cudaq/kernel/utils.py:181
↓ 5 callersFunctionregisterExtraPayloadProvider
runtime/common/ExtraPayloadProvider.cpp:19
↓ 5 callersMethodremoveQID
Removes \p qid from the metadata for this graph
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:1660
↓ 5 callersMethodreorder
runtime/common/SampleResult.cpp:488
↓ 5 callersMethodreplaceLeafAndRoot
Simultaneously replaces the leaf and root nodes for \p qid, or adds them if \p qid was not present before. The operations are separate, but doing them
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:1642
↓ 5 callersFunctionrotate_left
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:69
↓ 5 callersFunctionrotate_right
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/redblack.c:87
↓ 5 callersFunctionrunSamplingAsync
runtime/cudaq/algorithms/sample.h:200
↓ 5 callersFunctionrunSamplingPTSBE
runtime/cudaq/ptsbe/PTSBESample.h:176
↓ 5 callersFunctionscale
runtime/common/NoiseModel.h:54
↓ 5 callersFunctionshouldExpand
This code intends to simulate the X86_64ABIInfo::classify() function. That function tries to simulate GCC argument passing conventions. classify() als
cudaq/lib/Optimizer/Builder/Factory.cpp:452
↓ 5 callersMethodsupports_compilation
Whether the kernel can be compiled for the current target.
python/cudaq/kernel/kernel_decorator.py:260
← previousnext →901–1,000 of 11,928, ranked by callers