diff --git a/Makefile b/Makefile index 27bf93b..a11c2dd 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ help: build-deps: ifneq ($(OS),Windows_NT) ifeq ($(QRACK_PRESENT),) - git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout 82e68a058a2fe471b3f89102a6a3e5f486387242; cd .. + git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout d906dffdf033441e221573f989c3760bc325ca03; cd .. endif mkdir -p qrack/build ifeq ($(UNAME_S),Linux) diff --git a/pennylane_qrack/_version.py b/pennylane_qrack/_version.py index e7d6e77..6f32524 100644 --- a/pennylane_qrack/_version.py +++ b/pennylane_qrack/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.11.6" +__version__ = "0.12.0" diff --git a/pennylane_qrack/qrack_device.py b/pennylane_qrack/qrack_device.py index 11dc1ea..d4a815e 100644 --- a/pennylane_qrack/qrack_device.py +++ b/pennylane_qrack/qrack_device.py @@ -14,7 +14,6 @@ """ Base device class for PennyLane-Qrack. """ -from collections import OrderedDict from functools import reduce import cmath, math import os @@ -30,8 +29,6 @@ StatePrep, BasisState, QubitUnitary, - CRZ, - PhaseShift, Adjoint, ) from pennylane.wires import Wires @@ -162,7 +159,7 @@ class QrackDevice(QubitDevice): # Use CPU/GPU method hybridization? (Default is "false") isCpuGpuHybrid = True # Allocate GPU buffer from general host heap? (Default is "false"; "true" might improve performance or reliability in certain cases, like if using an Intel HD as accelerator) - isHostPointer = False + isHostPointer = True if os.environ.get('PYQRACK_HOST_POINTER_DEFAULT_ON') else False # Noise parameter. (Default is "0"; depolarizing noise intensity can also be controlled by "QRACK_GATE_DEPOLARIZATION" environment variable) noise = 0