You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ✨/🐛 now natively supports ancillary registers and c3x/c4x gates in Qiskit QuantumCircuit objects
- ⚡ actually enables -march=native -mtune=native for source builds via pip
- ⚡ tunes the setup.py script to run on as many threads as available
- 🚀 adds capability to build Python 3.10 wheels
- 📝 updates documentation
- 📌 increases the version number to 1.10.1
Copy file name to clipboardExpand all lines: README.md
+13-9
Original file line number
Diff line number
Diff line change
@@ -43,17 +43,16 @@ If you have any questions, feel free to contact us via [[email protected]](mail
43
43
## Usage
44
44
45
45
JKQ QCEC is mainly developed as a C++ library with an easy-to-use Python interface.
46
-
-Get the Python package
46
+
-In order to make the library as easy to use as possible (without compilation), we provide pre-built wheels for most common platforms (64-bit Linux, MacOS, Windows). These can be installed using
47
47
```bash
48
48
pip install jkq.qcec
49
49
```
50
-
In order to make the library as easy to use as possible (without compilation), we provide wheels formost common platforms (64-bit Linux, MacOS, Windows). However,in order to get the best performance out of QCEC, it is recommended to
51
-
build it locally from the source distribution via
50
+
However, in order to get the best performance out of QCEC, it is recommended to build it locally from the source distribution (see [system requirements](#system-requirements)) via
52
51
```bash
53
52
pip install --no-binary jkq.qcec
54
53
```
55
54
This enables platform specific compiler optimizations that cannot be enabled on portable wheels.
56
-
- Start using it in Python:
55
+
- Once installed, start using it in Python:
57
56
```python
58
57
from jkq.qcec import *
59
58
@@ -116,17 +115,22 @@ result = verify(qc, qc_comp, config)
116
115
```
117
116
118
117
### Command-line Executable
119
-
JKQ QCEC also provides a **standalone executable** with command-line interface called `qcec_app`.
120
-
It provides the same options as the Python module as flags (e.g., `--method <method>` for setting the method) and produces JSON formatted output.
121
-
For a full list of options, call `qcec_app --help`.
118
+
119
+
JKQ QCEC also provides a **standalone executable** with command-line interface called `qcec_app`. It provides the same options as the Python module as flags (e.g., `--method <method>` for setting the method) and produces JSON formatted
120
+
output. For a full list of options, call `qcec_app --help`.
122
121
123
122
### System requirements
124
123
125
-
Building (and running) is continuously tested under Linux, MacOS, and Windows using the [latest available system versions for GitHub Actions](https://github.com/actions/virtual-environments).
126
-
However, the implementation should be compatible with any current C++ compiler supporting C++17 and a minimum CMake version of 3.14.
124
+
Building (and running) is continuously tested under Linux, MacOS, and Windows using the [latest available system versions for GitHub Actions](https://github.com/actions/virtual-environments). However, the implementation should be compatible
125
+
with any current C++ compiler supporting C++17 and a minimum CMake version of 3.14.
126
+
127
+
*Disclaimer*: We noticed some issues when compiling with Microsoft's `MSCV` compiler toolchain. If you are developing under Windows, consider using the `clang` compiler toolchain. A detailed description of how to set this up can be
128
+
found [here](https://docs.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-160).
127
129
128
130
### Library Organisation
131
+
129
132
Internally the JKQ QCEC library works in the following way
133
+
130
134
- Import both input files into a `qc::QuantumComputation` object
0 commit comments