()
| 2505 | |
| 2506 | |
| 2507 | def 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 | |
| 2519 | def test_issue_1641(): |