Commit 1420223f authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

add qasm3 readme

parent 9487a334
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
# QASM3 Integration

The goal here is to show that this is an integration platform, and 
we want to be able to promote a number of mechanisms for programmability. 
We do this through state-of-the-art compiler frameworks like MLIR. 

![mlir](mlir_fig.png)

# Goals
* Show QPE example from qcor to note how one can do this at various language levels
* Show the QASM3 example, walk through it, and compile and run
* Show the lowering to MLIR, then to LLVM IR
* Note that this could be an efficient means for large scale circuit sim
* Demo that
 No newline at end of file
+3609 −0

File added.

Preview size limit exceeded, changes collapsed.

+564 −0

File added.

Preview size limit exceeded, changes collapsed.

+122 KiB
Loading image diff...
+3 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ OPENQASM 3;
include "stdgates.inc";

const n_qubits = 50;
const n_layers = 12;
const n_layers = 4;
qubit q[n_qubits];

// Run by: mpiexec -n <N> ./a.out -qrt nisq -qpu tnqvm -qpu-config tnqvm.ini 
@@ -23,7 +23,8 @@ for i in [0:n_layers] {
        cx q[j], q[j+1];
    }
}
// 4 Ranks

// 4 Ranks, 12 layers
// real    8m44.685s
// user    68m45.740s
// sys     0m14.613s