MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / empty

Function empty

python/tests/kernel/test_kernel_features.py:1510–1513  ·  view source on GitHub ↗
(var: list[cudaq.pauli_word], varvar: list[float],
              varvarvar: list[bool])

Source from the content-addressed store, hash-verified

1508
1509 @cudaq.kernel
1510 def empty(var: list[cudaq.pauli_word], varvar: list[float],
1511 varvarvar: list[bool]):
1512 q = cudaq.qvector(2)
1513 x(q[0])
1514
1515 empty([], [], [])
1516

Callers 15

test_empty_listsFunction · 0.70
test_constructionFunction · 0.50
test_canonicalizationFunction · 0.50
test_trimmingFunction · 0.50
test_term_distributionFunction · 0.50
test_constructionFunction · 0.50
test_canonicalizationFunction · 0.50
test_trimmingFunction · 0.50
test_term_distributionFunction · 0.50
test_constructionFunction · 0.50
test_propertiesFunction · 0.50
test_canonicalizationFunction · 0.50

Calls 2

qvectorMethod · 0.80
xFunction · 0.50

Tested by

no test coverage detected