Skip to content

Commit

Permalink
Mirror PR from WingCode
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 21, 2021
1 parent 3070824 commit 8f1e43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The ``qrack`` project supports two primary implementations: OpenCL-optimized and
qc/ $ mkdir qrack/build
qc/ $ cd qrack/build && cmake [-DENABLE_OPENCL=OFF] [-DENABLE_COMPLEX_X2=OFF] [-DENABLE_RDRAND=ON] [-DQBCAPPOW=5-31] [-DFPPOW=4-6] ..
Then ``make all`` or (``sudo``) ``make install`` to compile, (with ``-j8`` for 8 parallel build cores, or as appropriate).
Then ``make all`` to compile (with ``-j8`` for 8 parallel build cores, or as appropriate) or (``sudo``) ``make install`` to compile and install into a shared location in your system. ``make install`` would be needed if you're going to use this version of the qrack library with `pyqrack <https://github.com/vm6502q/pyqrack>`_.

Qrack compiles with either double (``FPPOW=6``) or single (``FPPOW=5``) accuracy complex numbers, for most OpenCL-enabled builds. 16 bit half accurracy (``FPPOW=4``) is available for CPU-only builds and for a limited selection of NVIDIA GPUs. Single float accuracy is used by default. Single float accuracy uses almost exactly half as much RAM as double accuracy, allowing one additional qubit. Single accuracy may also be faster or the only compatible option for certain OpenCL devices.

Expand Down

0 comments on commit 8f1e43e

Please sign in to comment.