(nQubits: int)
| 1642 | |
| 1643 | @cudaq.kernel |
| 1644 | def test_kernel(nQubits: int): |
| 1645 | qubits = cudaq.qvector(nQubits) |
| 1646 | x(qubits) |
| 1647 | x.control(qubits[0], qubits[1]) |
| 1648 | h(qubits) |
| 1649 | |
| 1650 | test_kernel.compile() |
| 1651 | assert ('Unknown attribute on quantum' in repr(e) and |
no test coverage detected