Repository navigation
Optimized support for applying exponentials of Paulis - #660
Conversation
Command Bot: Processing... |
1 similar comment
Command Bot: Processing... |
Command Bot: Processing... |
|
I couldn't reproduce the segfault in https://github.com/NVIDIA/cuda-quantum/actions/runs/6207439851/job/16853577621 locally:
All the expected tests are passing
Detail run of the failing |
Command Bot: Processing... |
|
This looks great and it'd be really useful in several ongoing projects with partners. Is there any way we can bump this up? @bettinaheim |
Command Bot: Processing... |
4 similar comments
Command Bot: Processing... |
Command Bot: Processing... |
Command Bot: Processing... |
Command Bot: Processing... |
|
documenting this, for some reason on CI, we get a function call from Thread 1 "python3.11" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
#0 0x0000000000000000 in ?? ()
#1 0x00007f94325425eb in std::_Function_handler<void (bool), nvqir::CircuitSimulator::applyExpPauli(double, std::vector<unsigned long, std::allocator<unsigned long> > const&, cudaq::spin_op const&)::{lambda(cudaq::pauli, unsigned long)#1}::operator()(cudaq::pauli, unsigned long) const::{lambda(bool)#2}>::_M_invoke(std::_Any_data const&, bool&&) ()
from /root/.local/lib/python3.11/site-packages/cudaq/../lib/libnvqir-custatevec-fp32.so
#2 0x00007f94324c2d4e in ?? ()
from /root/.local/lib/python3.11/site-packages/cudaq/../lib/libnvqir-qpp.so
#3 0x00007f945faffbef in __quantum__qis__exp_pauli ()
from /root/.local/lib/python3.11/site-packages/cudaq/../lib/libnvqir.so
#4 0x00007f946105f0b4 in __nvqpp__mlirgen____nvqppBuilderKernel_108506462586
()
#5 0x00007f946105f1b1 in __nvqppBuilderKernel_108506462586.thunk ()
#6 0x00007f945fce3e33 in ?? ()
from /root/.local/lib/python3.11/site-packages/cudaq/../lib/libcudaq-platform-default.so
#7 0x00007f945fb532d5 in altLaunchKernel () |
Command Bot: Processing... |
2 similar comments
Command Bot: Processing... |
Command Bot: Processing... |
Command Bot: Processing... |
2 similar comments
Command Bot: Processing... |
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
schweitzpgi
left a comment
There was a problem hiding this comment.
nits.
Looks good to me, but I helped write the code. :) @1tnguyen can you take a look?
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Convert the headers to use ASCIIZ string literals for the final argument to exp_pauli(). (Simplifies the AST presented to the bridge and falls back to using code that handles string literals.) Update LowerToQIR for the new types, fix bugs. Fix up tests.
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Signed-off-by: Alex McCaskey <amccaskey@nvidia.com>
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Co-authored-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Enable the following in the runtime and the bridge:
Also:
Add a
cc.stringtype, acc.string_literalop, and updates to lower to all this LLVM.