Alex McCaskey
Alex McCaskey
We should keep track of when a qubit has been measured, and throw an error if one tries to use it without calling reset.
The following causes an assertion to be triggered ```python @qjit def oracle(q : qreg): """ Define the oracle for our phase estimation algorithm, a T gate on the last qubit...
```cpp __qpu__ void hwe(qreg q, std::vector x, const int layers, std::vector cnot_coupling) { assert(x.size() == layers*q.size()*5); ... } ``` we should try to support asserts like the above in quantum...
```cpp Rz(q[(i], x[rz_xidx]); ``` this did not throw an error and just did not put the quantum::rz() function in the rewritten src.
This Issue is to track all discussions and updates related to the approved runtime initialization, finalization, and entrypoint handling workstream. QIR implementation libraries provided at link time may need to...
Background ------------ Currently, state just wraps a tuple containing the shape of the state data and a vector to the state data. This is sub-optimal because it forces the creation...
TODO add some tests for custom unitaries
TODO: * [x] Library mode implementation (@amccaskey) * [x] Python support for kernel_builder (@amccaskey) * [ ] Python support for ast_bridge kernels (@annagrin @amccaskey) * [x] C++ Bridge Support for...
For the simple code ```cpp #include "cudaq.h" __qpu__ void bell() { cudaq::qubit q, r; h(q); x(q,r); } ``` I get the following error when compiling with `-fPIC`: ```bash nvq++ --enable-mlir...
The ChemistryTester is compiled and linked to the QPP FP64 simulator. However, the creation of the Hamiltonian goes through Python and PySCF, which initializes the python bindings and sets the...