qe-compiler icon indicating copy to clipboard operation
qe-compiler copied to clipboard

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3

Results 27 qe-compiler issues
Sort by recently updated
recently updated
newest added

I'm seeing the following assertion error when compiling the [adder_n4.qasm](https://github.com/pnnl/QASMBench/blob/master/small/adder_n4/adder_n4.qasm) test from the [QASMBench Benchmark Suite](https://github.com/pnnl/QASMBench) ``` File: "qelib1.inc", Line: 220, Col: 5 ASTGateQOp c3sqrtx does not have a Local...

### Description qss-compiler expresses variable references and assignments in OpenQASM 3 source code as MLIR operations that directly reflect these references and assignments in the initial MLIR -- that is,...

Invoking `pytest test/python_lib` gives: ``` Current thread 0x0000000108bc6600 (most recent call first): File "", line 228 in _call_with_frames_removed File "", line 1173 in create_module File "", line 565 in module_from_spec...

QUIR should support `const` in statements like: `const int[64] x = 2`. The QASM code `uint x = 1;` and `const uint x = 1;` emit the same mlir. Furthermore,...

priority: low

This is a PR to add simulator target to qe-compiler.

bin/qss-compiler --emit=mlir -I /.../mpqp/header_codes /.../src/adder_8.qasm.3.qasm content of the qasm2 file: OPENQASM 3.0; include "stdgates.inc"; qubit[24] qubits; cx qubits[3],qubits[2]; cx qubits[8],qubits[7]; cx qubits[14],qubits[13]; cx qubits[21],qubits[20]; cx qubits[3],qubits[4]; cx qubits[8],qubits[9]; cx qubits[14],qubits[15];...

I am getting several compilation errors during the build. I have followed the steps exactly as mentioned in the README. ` /home/nqx/.conan/data/llvm/17.0.5-0/_/_/package/fa4e83519b8c7ca96c21cb33c75ecc7a417721c3/include/llvm/Support/Error.h:1249: error: undefined reference to 'llvm::Twine::str() const' /home/nqx/Quantum/quantum-resources/tmp/qe-compiler/targets/systems/mock/MockTarget.cpp:282: error:...