This project is mirrored from https://github.com/ornl-qci/qcor.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- 17 Nov, 2021 1 commit
-
-
Nguyen, Thien Minh authored
Forward the qreg arg from python to cpp so that the child buffers are attached to it. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 09 Nov, 2021 2 commits
-
-
Thien Nguyen authored
Fixed nested range-based for loops
-
Nguyen, Thien Minh authored
The unnecessary casting ops between integer and index types cause the Affine for validation failed. This only occurs when the constant values are created inside another affine scope. Fixing the const index value builder to create the index const directly and the loop statement handler in the range-based case to create index type. Added the test case (https://github.com/ORNL-QCI/qcor/issues/240 ) Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 03 Nov, 2021 2 commits
-
-
Thien Nguyen authored
Added python example for mirror circuit validation mode
-
Nguyen, Thien Minh authored
- Reduce default number of runs for smaller circuits. - Reduce debug logging. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 28 Oct, 2021 2 commits
-
-
Thien Nguyen authored
Added source files from PNNL demo/tutorial session Example files only, no code changes.
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 27 Oct, 2021 2 commits
-
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
-
- 26 Oct, 2021 2 commits
-
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Mccaskey, Alex authored
Squashing all work to implement region-based OpenQASM3 modifier scope block
-
- 22 Oct, 2021 1 commit
-
-
Nguyen, Thien Minh authored
Descriptions: modifier (inv, ctrl, pow) Ops in the dialect has an associated (single-block) region. These ops have proper data flow tracking, i.e., subsequence quantum ops will take output of these modifier ops, not the wrapped instructions. The connection b/w the region-wrapped code and the op returns are handled by the quantum yield op (terminator for these modifier ops). Lowering/optimization: - If no optimization is required, these ops will be lowered to runtime (start/end) functions, identical to the current behavior. I need to separate part of this lowering (involves inlining the wrapped region into the parent region) to a individual pass, executed before the quantum-to-llvm dialect conversion b/c of some weird interactions with other dialect conversion patterns (e.g., qvs conversion) and type conversion. In some sense, when inlining the body, we are creating (cloning/copying) new MLIR Ops in the quantum dialect, so it needs to be executed before the whole quantum-to-llvm pass. - If optimization is turned on: when possible (e.g., the wrapped code only contains qvs ops), it will resolve the modifier at compile time: reverse gates for inv, derive the ctr-gates, rewrite pow->for loops. Modifiers that cannot be optimized will remain and be handled by the lowering step above. Added tests. There is an edge case that this doesn't cover is compute-action. I retain the existing behavior by directly calling runtime functions. Hence, the SSA tracking in this use case is not reliable for optimization. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 19 Oct, 2021 2 commits
-
-
Thien Nguyen authored
Added <optional> header include
-
Nguyen, Thien Minh authored
Required for gcc11+ due to header file re-structuring. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 13 Oct, 2021 2 commits
-
-
Mccaskey, Alex authored
Added compiler switch to select kernel's autograd method
-
Nguyen, Thien Minh authored
Fix a copy and paste bug in gradient method service registry lookup (backward looked for forward impl...) Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 12 Oct, 2021 4 commits
-
-
Mccaskey, Alex authored
Fixed Clang build
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 11 Oct, 2021 4 commits
-
-
Thien Nguyen authored
Fixed a bug in ScopedSymbolTable::invalidate_qubit_extracts
-
Nguyen, Thien Minh authored
Must check the optional return before trying to deref. This shows up in one of the demos whereby the QASM3 source only contains a kernel **definition** and the size of qreg argument is unknown. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Thien Nguyen authored
Fixed a typo in compile command comment of a demo example Comment changes only.
-
Nguyen, Thien Minh authored
the file name is iqft.qasm. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 07 Oct, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 24 Sep, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 23 Sep, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 22 Sep, 2021 8 commits
-
-
Mccaskey, Alex authored
Added HPC demo for random circuit (TNQVM) and adder circuit (DM-SIM )
-
Nguyen, Thien Minh authored
To minimize the risk of Summit unavailability, TNQVM/ExaTN demo will be based on Andes. DM-Sim on Summit: 1GPU demo on login node, multi-GPU live demo if interactive session available. Otherwise, just do a job submission... Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 21 Sep, 2021 5 commits
-
-
Mccaskey, Alex authored
Added QASM3 adder example
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
The code to detect the type is correct in detecting Memref type or not but the below code **always** does a LoadOp. In the case of non-memref type current value, it's causing seg-fault in LLVM internal code.... Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-