Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quantum codes #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions quantum/pennylane/buildpennylane.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This recipe uses pennylane as a base and
# adds some extra python packages

ARG PENNYLANE_VERSION="0.33.1-lightning-kokkos-rocm"
FROM pennylaneai/pennylane:${PENNYLANE_VERSION}
ARG PENNYLANE_VERSION="0.33.1-lightning-kokkos-rocm"

ARG REQ_FILE="requirements.txt"

#define some metadata
LABEL org.opencontainers.image.created="2023-11"
LABEL org.opencontainers.image.authors="Pascal Jahan Elahi <[email protected]>, "
LABEL org.opencontainers.image.documentation="https://github.com/PawseySC/pawsey-containers/"
LABEL org.opencontainers.image.source="https://github.com/PawseySC/pawsey-containers/quantum/pennylane/buildpennylane.dockerfile"
LABEL org.opencontainers.image.vendor="Pawsey Supercomputing Research Centre"
LABEL org.opencontainers.image.licenses="GNU GPL3.0"
LABEL org.opencontainers.image.title="Setonix compatible pennylane gpu with python packages"
LABEL org.opencontainers.image.description="PennyLane lightning using kokkos for AMD gpus with extra python packages for analysis"
LABEL org.opencontainers.image.base.name="pawsey/pennylane:${PENNYLANE_VERSION}}"

# build packages with spack
# note that the externals here are set based on
# building from the pawsey mpich base image
WORKDIR /opt/
COPY ${REQ_FILE} /opt/container_python_requirements.txt
RUN echo "Adding python packages" \
&& pip install -r /opt/container_python_requirements.txt \
&& echo "Finished adding python requirements"

6 changes: 6 additions & 0 deletions quantum/pennylane/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ipython==8.12.3
jupyter==1.0.0
jupyterlab==4.0.9
matplotlib==3.7.4
pandas==2.0.3
seaborn==0.13.0