Skip to content

Commit

Permalink
PYQRACK_HOST_POINTER_DEFAULT_ON environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 22, 2024
1 parent 969bbd3 commit 2ad3dc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyqrack/qrack_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import copy
import ctypes
import math
import os
import re
from .qrack_system import Qrack
from .pauli import Pauli

_IS_QISKIT_AVAILABLE = True
try:
from qiskit.circuit import QuantumRegister, Qubit
from qiskit.circuit.quantumcircuit import QuantumCircuit
from qiskit.compiler import transpile
from qiskit.qobj.qasm_qobj import QasmQobjExperiment
Expand Down Expand Up @@ -60,7 +60,7 @@ def __init__(
isPaged=True,
isCpuGpuHybrid=True,
isOpenCL=True,
isHostPointer=False,
isHostPointer=True if os.environ.get('PYQRACK_HOST_POINTER_DEFAULT_ON') else False,
noise=0,
pyzxCircuit=None,
qiskitCircuit=None,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup


VERSION = "1.34.9"
VERSION = "1.35.0"

# Read long description from README.
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')
Expand Down

0 comments on commit 2ad3dc4

Please sign in to comment.