Skip to content

Commit 40e4a50

Browse files
authored
Merge pull request #209 from Qiskit/brj/notice-of-further-docs
Add basic information and notices to README.
2 parents 9b7b4c1 + 93ee716 commit 40e4a50

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11

2-
# qss-compiler: An MLIR based quantum compiler for control systems
2+
# qe-compiler: An MLIR-based quantum compiler for quantum engines
33

4-
The qss-compiler is an MLIR based quantum control system compiler with support for OpenQASM 3. It is designed to compile quantum programs to real quantum hardware and is designed as part the overall Quantum Engine.
4+
The qe-compiler is an [MLIR](https://mlir.llvm.org/)-based compiler with support for OpenQASM 3. It is designed to compile quantum programs to quantum hardware and is designed as part of the overall Quantum Engine. This repo contains the compiler front-end to convert OpenQASM 3 source files into a collection of four MLIR dialects called QUIR (QUantum Intermediate Representation), OQ3 (OpenQASM 3), Pulse (OpenPulse), and QCS (Quantum Computing System). This set of dialects allows OpenQASM programs to be converted into a form suitable to manipulate with LLVM. This repo also contains tools and compiler passes that are agnostic of details of any control system vendor. For instance, it contains localization passes to split source programs into the qubit or channel-specific groupings required by a target quantum control system.
5+
6+
This repo does not contain a complete compiler. Rather, it is a framework for building compilers. To produce a complete compiler, one needs to implement a qe-compiler **target**. This repo comes with a ["mock" target](https://github.com/Qiskit/qss-compiler/tree/main/targets/systems/mock) to assist developers in understanding how to develop such targets.
7+
8+
## Notice
9+
10+
We are in the process of [changing the name of this project](https://github.com/Qiskit/qss-compiler/issues/210) from `qss-compiler` to `qe-compiler`. At present, only the repository name and this README have been updated.
11+
12+
This open-source version of the qe-compiler is currently lacking documentation. We will add getting started guides and other resources in the near future.
513

614
## Building
715
We use [Conan](https://docs.conan.io/en/1.59/index.html) to build the compiler and handle dependencies.
816

917
To build:
1018

11-
1. `git clone [email protected]:Qiskit/qss-compiler.git && cd qss-compiler`
19+
1. `git clone [email protected]:Qiskit/qe-compiler.git && cd qe-compiler`
1220
2. Install Python dependencies: `pip install -r requirements-dev.txt`
1321
3. Export local Conan recipe dependencies to Conan: `./conan_deps.sh`
1422
4. `mkdir build && cd build`
@@ -28,3 +36,11 @@ installing with conan. To disable add the option `conan build .. -o pythonlib=Fa
2836
### Platforms
2937
#### Windows
3038
Building and running the compiler is supported with [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
39+
40+
## Example Use
41+
42+
You can inspect the options available when invoking the `qe-compiler` by passing the `-h` flag. There are **many** options. A basic invocation that will work without implementing a target will convert an OpenQASM source file, `example.qasm` to the MLIR dialect set described above with:
43+
`qss-compiler --emit=mlir example.qasm`
44+
45+
## License
46+
The qe-compiler is [licensed](LICENSE.txt) under the Apache License v2 with LLVM Exceptions.

0 commit comments

Comments
 (0)