Hello! I’m sharing this question that came in via email and the response.
Question
Could you confirm if the environment including PennyLane 0.45.1, NumPy 1.26.4, Python 3.11 and JupyterLab 4.6.4 is suitable for our local pre-testing? We will submit the code to the online judge for compilation.
Answer
Thank you for your question! The evaluation environment uses Python 3.12 and PennyLane 0.45.1. We recommend setting up your local environment with these versions to ensure compatibility.
The simplest way to match the evaluation environment is:
pip install pennylane==0.45.1
This will automatically pull in compatible versions of NumPy and other dependencies. Note that PennyLane 0.45.1 requires a newer version of NumPy than the 1.26.4 you mentioned, so we recommend letting pip resolve the correct version rather than pinning it manually.
JupyterLab version should have no impact on evaluation so any version should work fine for local development.
QHack 2026 begins on Friday, October 16, 2026 at 10:00 AM ET. Visit https://qhack.ai to register and be sure to create or join a team! You can compete solo as a team of one or with up to four team members.