From 26a0518e218949f64a926785cfc8d6f90cdcb6ef Mon Sep 17 00:00:00 2001 From: Daniel Strano Date: Sun, 22 Dec 2024 13:24:55 -0500 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f8a36ed..e1d52d3 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Pure Python bindings for the pure C++11/OpenCL Qrack quantum computer simulator **Performance can benefit greatly from following the [Qrack repository "Quick Start" and "Power user considerations."](https://github.com/unitaryfund/qrack/blob/main/README.md#quick-start)** +**If you use an integrated graphics accelerator, like the Intel HD,** setting environment variable `PYQRACK_HOST_POINTER_DEFAULT_ON=1` or to any "truthy" value will automatically engage the `isHostPointer=True` option of `QrackSimulator` (and override that constructor option in general), to engage "zero-copy" mode. + Import and instantiate [`QrackSimulator`](https://github.com/unitaryfund/pyqrack/blob/main/pyqrack/qrack_simulator.py) instances. This simulator can perform arbitrary single qubit and controlled-single-qubit gates, as well as other specific gates like `SWAP`. Any 2x2 bit operator matrix is represented by a list of 4 `complex` floating point numbers, in [**row-major order**](https://en.wikipedia.org/wiki/Row-_and_column-major_order).