Alex McCaskey

Results 32 issues of Alex McCaskey

The python language AST bridge uses a scoped symbol table. There may be a desire to make this more Pythonic: ```python if cond: a = 10 else: a = 5...

RFC
python-lang

# Background Now that we are moving simulation based targets to runtime-only library mode (no MLIR compilation), we need to revisit how we enable sampling of dynamic circuits (those circuits...

RFC

# Background Recently we update the Python bindings for `kernel_builder` to `Kernel` to be more Pythonic. I actually like this a little better. This type in C++ is meant to...

enhancement
RFC-approved

```cpp __qpu__ void test2() { std::vector myList{{0, 1}, {1, 2}}; std::vector inner = myList[0]; } ``` currently fails with ```bash checkExpr.cpp:18:32: error: C++ constructor (not-default) is not yet supported ```

language

Take the following files ```cpp // lib.h #include "cudaq.h" void kernel(cudaq::qvector& q); ``` ```cpp // lib.cpp #include "lib.h" __qpu__ void kernel(cudaq::qvector& q) { x(q[0]); } ``` and ```cpp // user.cpp...

bug
critical

```cpp #include "cudaq.h" __qpu__ void adapt_kernel(std::size_t numQubits, const std::function &statePrep, const std::vector &thetas, const std::vector &coefficients, const std::vector &trotterOpList) { cudaq::qvector q(numQubits); statePrep(q); } ``` produces the following error ```bash...

critical

Enable expressions in C++ like this ```cpp struct MyStructWithQuantumType { int i; double d; cudaq::qview q; }; __qpu__ void applyHadamardOnQubit(cudaq::qubit &q) { h(q); } __qpu__ void pureDeviceKernelTakesQuantumStruct(MyStructWithQuantumType t) { h(t.q);...

* Create imported CMake targets for cudaq targets. * Enable downstream CMake to set the target. * Fix bug where fmtlib not found for downstream project import NVQIR config. *...

See line 608 of QuakeSynthesizer.cpp.

enhancement