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
↓ 22 callers
Function
close
return 1 if a and b are approximately equal relative to floating-point precision, 0 otherwise */
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/algs/neldermead/nldrmd.c:47
↓ 22 callers
Method
exp_pauli
Apply a general Pauli tensor product rotation, `exp(i theta P)`, on the specified qubit register. The Pauli tensor product is provide
python/cudaq/kernel/kernel_builder.py:927
↓ 22 callers
Function
f
cudaq/test/AST-Quake/initialization_list.cpp:13
↓ 22 callers
Function
getLLVMArrayType
cudaq/include/cudaq/Optimizer/CodeGen/QIROpaqueStructTypes.h:74
↓ 22 callers
Function
getNumQubits
For a call to `__quantum__rt__qubit_allocate_array`, get the number of qubits allocated.
cudaq/lib/Optimizer/CodeGen/ConvertToQIRProfile.cpp:50
↓ 22 callers
Method
is_remote
runtime/cudaq/platform/quantum_platform.cpp:238
↓ 22 callers
Function
nlopt_stop_forced
runtime/cudaq/algorithms/optimizers/nlopt/nlopt-src/src/util/stop.c:156
↓ 22 callers
Method
num_ranks
runtime/cudaq/distributed/mpi_plugin.cpp:74
↓ 22 callers
Function
parse
tpls/json/single_include/nlohmann/json.hpp:24084
↓ 22 callers
Method
pauli_word
runtime/cudaq/qis/pauli_word.h:23
↓ 22 callers
Method
sequential_data
runtime/common/SampleResult.cpp:296
↓ 22 callers
Method
setState
runtime/nvqir/cudensitymat/MagnusIntegrator.cpp:41
↓ 22 callers
Function
unpackMpiCommunicator
runtime/cudaq/distributed/builtin/mpi_comm_impl.cpp:87
↓ 21 callers
Function
__quantum__rt__initialize
@brief QIR Initialization function
runtime/nvqir/NVQIR.cpp:294
↓ 21 callers
Function
__quantum__rt__qubit_release_array
@brief Once done, release the QIR qubit array
runtime/nvqir/NVQIR.cpp:419
↓ 21 callers
Function
annihilate_matrix
(size)
python/tests/operator/op_utils.py:52
↓ 21 callers
Function
createKernel
unittests/Optimizer/UnitaryOpGroupingTest.cpp:34
↓ 21 callers
Function
isDynamicType
cudaq/lib/Optimizer/Dialect/CC/CCTypes.cpp:194
↓ 21 callers
Function
kernel
(n: int)
python/tests/kernel/test_kernel_features.py:32
↓ 21 callers
Function
momentum_matrix
(size)
python/tests/operator/op_utils.py:71
↓ 21 callers
Function
squeeze
runtime/cudaq/operators/matrix_op.cpp:604
↓ 21 callers
Function
super
()
python/tests/kernel/test_kernel_features.py:2218
↓ 21 callers
Function
swap
runtime/cudaq/qis/qubit_qis.h:308
↓ 21 callers
Function
vqe
(*args, kernel=None, gradient_strategy=None, spin_operator=None, optimizer=Non
python/cudaq/runtime/vqe.py:10
↓ 20 callers
Function
a_idx
(p)
docs/sphinx/applications/python/qchem/classical_pyscf.py:107
↓ 20 callers
Function
b_idx
(p)
docs/sphinx/applications/python/qchem/classical_pyscf.py:111
↓ 20 callers
Method
clear
@brief Destroys all contained qudits. Postcondition: `size() == 0`.
runtime/cudaq/qis/qreg.h:108
↓ 20 callers
Method
draw
runtime/cudaq/algorithms/draw.cpp:682
↓ 20 callers
Method
dump
cudaq/test/ArgumentConversion/test_argument_conversion.cpp:90
↓ 20 callers
Method
end
runtime/common/SampleResult.cpp:305
↓ 20 callers
Method
getHandle
@brief Get the `cudensitymat` handle. @return cudensitymatHandle_t Handle to the `cudensitymat` context.
runtime/nvqir/cudensitymat/CuDensityMatContext.h:25
↓ 20 callers
Function
getQubitType
cudaq/include/cudaq/Optimizer/CodeGen/QIROpaqueStructTypes.h:39
↓ 20 callers
Method
is_initialized
runtime/cudaq/distributed/mpi_plugin.cpp:80
↓ 20 callers
Function
kernel
(c: float)
python/tests/kernel/test_kernel_return.py:19
↓ 20 callers
Function
logical_observable
Define a logical observable over one or more measurement results. The variadic form uses ``observable_index = 0``. Codes with ``k`` logical q
python/cudaq/__init__.py:346
↓ 20 callers
Function
mx
Measure the qubit along the x-axis.
python/cudaq/qis/qis.py:199
↓ 20 callers
Method
number_unsigned
tpls/json/single_include/nlohmann/json.hpp:9584
↓ 20 callers
Function
printCounts
targettests/execution/state_preparation_vector.cpp:85
↓ 20 callers
Method
reset
Reset schedule
runtime/cudaq/algorithms/schedule.cpp:63
↓ 20 callers
Method
reset_noise
runtime/cudaq/platform/quantum_platform.cpp:89
↓ 20 callers
Method
right_multiply
runtime/cudaq/operators/super_op.cpp:23
↓ 20 callers
Method
sax_parse
tpls/json/single_include/nlohmann/json.hpp:13019
↓ 20 callers
Method
size
realtime/unittests/utils/hololink_fpga_emulator.cpp:330
↓ 20 callers
Function
split
runtime/cudaq/utils/cudaq_utils.h:275
↓ 20 callers
Function
swap
This operation swaps the states of the provided qubits. Can be controlled on any number of qubits via the `ctrl` method.
python/cudaq/qis/qis.py:171
↓ 19 callers
Function
begin
@brief returns an iterator to the first element @sa https://json.nlohmann.me/api/basic_json/begin/
tpls/json/single_include/nlohmann/json.hpp:22809
↓ 19 callers
Function
buildAndExtract
Build PTSBE trace then extract noise sites (the two-step pipeline).
unittests/ptsbe/NoiseExtractorTester.cpp:19
↓ 19 callers
Function
check
(c: any)
python/tests/kernel/test_kernel_float.py:261
↓ 19 callers
Method
data
realtime/unittests/utils/hololink_fpga_emulator.cpp:329
↓ 19 callers
Function
doSimpleTest
cudaq/test/ArgumentConversion/test_argument_conversion.cpp:153
↓ 19 callers
Function
doSimpleTest
runtime/test/test_argument_conversion.cpp:153
↓ 19 callers
Function
extract_qubit
unittests/qir/NVQIRTester.cpp:305
↓ 19 callers
Function
getArrayType
cudaq/include/cudaq/Optimizer/CodeGen/QIROpaqueStructTypes.h:46
↓ 19 callers
Function
getLLVMQubitType
cudaq/include/cudaq/Optimizer/CodeGen/QIROpaqueStructTypes.h:70
↓ 19 callers
Method
get_token_string
! @return a string representation of the last read byte */
tpls/json/single_include/nlohmann/json.hpp:12734
↓ 19 callers
Function
isLinearType
cudaq/lib/Optimizer/Transforms/MemToReg.cpp:79
↓ 19 callers
Method
is_identity_op
@brief Check whether the operator at the given index is an identity. Determined from the unitary matrix data during channel construction, recognizing
runtime/common/NoiseModel.h:349
↓ 19 callers
Function
name
Trims off the cudaq generated prefix and the mangled suffix, if any.
runtime/cudaq/builder/kernel_builder.cpp:903
↓ 19 callers
Method
number_integer
tpls/json/single_include/nlohmann/json.hpp:9579
↓ 19 callers
Function
observe_async
Compute the expected value of the `spin_operator` with respect to the `kernel` asynchronously. If the kernel accepts arguments, it will be
python/cudaq/runtime/observe.py:214
↓ 19 callers
Method
operator[]
access to successor
tpls/json/single_include/nlohmann/json.hpp:14432
↓ 19 callers
Function
range
unittests/integration/ghz_nisq_tester.cpp:13
↓ 19 callers
Method
read
runtime/common/KernelWrapper.h:55
↓ 19 callers
Function
unknown_size
tpls/json/single_include/nlohmann/json.hpp:8798
↓ 18 callers
Function
__quantum__rt__qubit_allocate_array
@brief QIR function for allocated a qubit array
runtime/nvqir/NVQIR.cpp:307
↓ 18 callers
Function
begin
@brief Get iterator to beginning of operator terms
runtime/cudaq/operators.h:151
↓ 18 callers
Method
close
realtime/lib/cpu_transport/roce_transceiver.cpp:1273
↓ 18 callers
Method
countErrors
@brief Count non-identity errors in this trajectory (error weight) @return Number of selections with is_error == true
runtime/cudaq/ptsbe/KrausTrajectory.h:94
↓ 18 callers
Function
createTrajectory
unittests/ptsbe/TrajectoryDeduplicationTester.cpp:17
↓ 18 callers
Function
create_matrix
(size)
python/tests/operator/op_utils.py:47
↓ 18 callers
Function
cz
This operation applies a controlled-z operation to the given target qubit, with the provided control qubit/s.
python/cudaq/qis/qis.py:108
↓ 18 callers
Method
destroy
cudaq/test/NVQPP/Inputs/DeviceCallLibrary.h:357
↓ 18 callers
Method
exit
python/runtime/cudaq/trace/py_trace.cpp:48
↓ 18 callers
Method
formal_arity
(self)
python/cudaq/kernel/kernel_decorator.py:515
↓ 18 callers
Function
from_json
tpls/json/single_include/nlohmann/json.hpp:2602
↓ 18 callers
Method
getFloatType
Return an MLIR float type (single or double precision).
python/cudaq/kernel/ast_bridge.py:513
↓ 18 callers
Function
getMpiPluginInterface
@brief Retrieve the MPI plugin comm interface
runtime/nvqir/cudensitymat/mpi_support.cpp:17
↓ 18 callers
Method
getQID
Returns the qid for the virtual wire this node allocates
cudaq/lib/Optimizer/Transforms/DependencyAnalysis.cpp:676
↓ 18 callers
Function
getResultType
Get the result type if \p ty is a function type or just return \p ty.
cudaq/lib/Frontend/nvqpp/ConvertExpr.cpp:25
↓ 18 callers
Method
insert
runtime/cudaq/operators/product_op.cpp:156
↓ 18 callers
Method
integrate
runtime/nvqir/cudensitymat/MagnusIntegrator.cpp:49
↓ 18 callers
Method
prepare_call
Process call site arguments, capture lifted arguments and retrieve compiled module for kernel execution. # Returns:
python/cudaq/kernel/kernel_decorator.py:570
↓ 18 callers
Function
samplePTSBEWithLifecycle
runtime/cudaq/ptsbe/PTSBESampler.cpp:298
↓ 18 callers
Method
slice
@brief Returns the `[start, start+size)` qudits.
runtime/cudaq/qis/qreg.h:100
↓ 18 callers
Method
swap
Swap the states of the provided qubits. ```python # Example: kernel = cudaq.make_kernel() # All
python/cudaq/kernel/kernel_builder.py:1088
↓ 18 callers
Function
tdg
This operation applies a rotation on the z-axis of negative 45 degrees to the given target qubit/s.
python/cudaq/qis/qis.py:136
↓ 18 callers
Method
to_sparse_matrix
runtime/cudaq/operators/sum_op.cpp:1804
↓ 17 callers
Function
as_cpp
realtime/lib/cpu_transport/roce_wrapper.cpp:25
↓ 17 callers
Function
compute_action
Apply the U V U^dag given U and V unitaries.
python/cudaq/qis/qis.py:220
↓ 17 callers
Function
emitFatalError
The emitFatalError() function is used when the compiler reaches a point that it cannot continue and produce valid output code. This is very much like
cudaq/include/cudaq/Todo.h:22
↓ 17 callers
Function
evolveSingle
runtime/cudaq/algorithms/evolve.cpp:20
↓ 17 callers
Function
fct
()
python/tests/kernel/test_assignments.py:1388
↓ 17 callers
Method
i
runtime/cudaq/operators/sum_op.cpp:1416
↓ 17 callers
Function
isQuantumValueType
cudaq/include/cudaq/Optimizer/Dialect/Quake/QuakeTypes.h:53
↓ 17 callers
Function
r1
This operation is an arbitrary rotation about the |1> state or the Z axis, which introduces a relative phase factor of lambda/2.
python/cudaq/qis/qis.py:80
↓ 17 callers
Function
to_json
tpls/json/single_include/nlohmann/json.hpp:5917
↓ 16 callers
Function
_term_tuples
Set of (term_id, coefficient) from iterating over op
python/tests/operator/test_spin_op.py:21
↓ 16 callers
Function
aggregateResults
runtime/cudaq/ptsbe/PTSBESampler.cpp:144
↓ 16 callers
Method
cswap
Controlled swap of the states of the provided qubits. The controls parameter is expected to be a list of QuakeValue. ```pyt
python/cudaq/kernel/kernel_builder.py:1057
↓ 16 callers
Function
displace
runtime/cudaq/operators/matrix_op.cpp:607
← previous
next →
301–400 of 11,928, ranked by callers