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

Function test_issue_9

python/tests/kernel/test_kernel_features.py:2507–2516  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2505
2506
2507def test_issue_9():
2508
2509 with pytest.raises(RuntimeError) as error:
2510
2511 @cudaq.kernel
2512 def kernel(features: list[float]):
2513 qubits = cudaq.qvector(8)
2514 rx(features[0], qubits[100])
2515
2516 kernel([3.14])
2517
2518
2519def test_issue_1641():

Callers

nothing calls this directly

Calls 1

kernelFunction · 0.70

Tested by

no test coverage detected