()
| 1843 | |
| 1844 | |
| 1845 | def test_len_qvector_1449(): |
| 1846 | |
| 1847 | @cudaq.kernel |
| 1848 | def test_kernel(nCountingQubits: int) -> int: |
| 1849 | qubits = cudaq.qvector(nCountingQubits) |
| 1850 | # can use N = counting_qubits.size() |
| 1851 | N = len(qubits) |
| 1852 | h(qubits) |
| 1853 | return N |
| 1854 | |
| 1855 | test_kernel.compile() |
| 1856 | assert test_kernel(5) == 5 |
| 1857 | |
| 1858 | |
| 1859 | def test_missing_paren_1450(): |
nothing calls this directly
no test coverage detected