Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .dep-versions
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ enzyme=v0.0.186

# For a custom PL version, update the package version here and at
# 'doc/requirements.txt'
pennylane=0.43.0.dev71
# pennylane=0.43.0.dev71

# For a custom LQ/LK version, update the package version here and at
# 'doc/requirements.txt'
lightning=0.43.0.dev40
# lightning=0.43.0.dev40
5 changes: 5 additions & 0 deletions .github/workflows/build-wheel-linux-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,11 @@ jobs:

- name: Install Catalyst
run: |
# TODO: --- remove workaround before merging to main ----------------- #
pip install git+https://github.com/PennyLaneAI/[email protected]
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning==0.43.0
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning-Kokkos==0.43.0
# -------------------------------------------------------------------- #
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple

- name: Install Standalone Plugin
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-wheel-linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,11 @@ jobs:

- name: Install Catalyst
run: |
# TODO: --- remove workaround before merging to main ----------------- #
pip install git+https://github.com/PennyLaneAI/[email protected]
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning==0.43.0
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning-Kokkos==0.43.0
# -------------------------------------------------------------------- #
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple

- name: Install Standalone Plugin
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-wheel-macos-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,11 @@ jobs:

- name: Install Catalyst
run: |
# TODO: --- remove workaround before merging to main ----------------- #
pip install git+https://github.com/PennyLaneAI/[email protected]
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning==0.43.0
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning-Kokkos==0.43.0
# -------------------------------------------------------------------- #
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple

- name: Install Standalone Plugin
Expand Down
41 changes: 15 additions & 26 deletions .github/workflows/check-catalyst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,18 +473,13 @@ jobs:
# macOS requirements.txt
python3 -m pip install cuda-quantum==0.6.0
python3 -m pip install oqc-qcaas-client
# TODO: --- remove workaround before merging to main ----------------- #
pip install git+https://github.com/PennyLaneAI/[email protected]
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning==0.43.0
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning-Kokkos==0.43.0
# -------------------------------------------------------------------- #
make frontend

- name: Install PennyLane release candidate
if: github.event.pull_request.base.ref == 'v0.13.0-rc'
run: |
pip install --no-deps --pre -U --index-url https://test.pypi.org/simple/ pennylane'<=0.43.0'

- name: Install PennyLane-Lightning release candidate
if: github.event.pull_request.base.ref == 'v0.13.0-rc'
run: |
pip install --no-deps --pre -U --index-url https://test.pypi.org/simple/ pennylane-lightning'<=0.43.0'

- name: Get Cached LLVM Build
id: cache-llvm-build
uses: actions/cache@v4
Expand Down Expand Up @@ -566,19 +561,13 @@ jobs:
sudo apt-get install -y libasan6 make
python3 --version | grep ${{ needs.constants.outputs.primary_python_version }}
python3 -m pip install -r requirements.txt
# TODO: --- remove workaround before merging to main ----------------- #
pip install git+https://github.com/PennyLaneAI/[email protected]
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning==0.43.0
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning-Kokkos==0.43.0
# -------------------------------------------------------------------- #
make frontend

- name: Install PennyLane release candidate
if: github.event.pull_request.base.ref == 'v0.13.0-rc'
run: |
pip install --no-deps --pre -U --index-url https://test.pypi.org/simple/ pennylane'<=0.43.0'

- name: Install PennyLane-Lightning-Kokkos release candidate
if: github.event.pull_request.base.ref == 'v0.13.0-rc'
run: |
# Need to install the latest versions of both lightning.qubit and lightning.kokkos
pip install --no-deps --pre -U --index-url https://test.pypi.org/simple/ pennylane-lightning'<=0.43.0' pennylane-lightning-kokkos'<=0.43.0'

- name: Get Cached LLVM Build
id: cache-llvm-build
uses: actions/cache@v4
Expand Down Expand Up @@ -639,13 +628,13 @@ jobs:
sudo apt-get install -y libasan6 make
python3 --version | grep ${{ needs.constants.outputs.primary_python_version }}
python3 -m pip install -r requirements.txt
# TODO: --- remove workaround before merging to main ----------------- #
pip install git+https://github.com/PennyLaneAI/[email protected]
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning==0.43.0
pip install --extra-index-url=https://test.pypi.org/simple/ PennyLane-Lightning-Kokkos==0.43.0
# -------------------------------------------------------------------- #
make frontend

- name: Install PennyLane release candidate
if: github.event.pull_request.base.ref == 'v0.13.0-rc'
run: |
pip install --no-deps --pre -U --index-url https://test.pypi.org/simple/ pennylane'<=0.43.0'

- name: Get Cached LLVM Build
id: cache-llvm-build
uses: actions/cache@v4
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ frontend:
@echo "install Catalyst Frontend"
# Uninstall pennylane before updating Catalyst, since pip will not replace two development
# versions of a package with the same version tag (e.g. 0.38-dev0).
$(PYTHON) -m pip uninstall -y pennylane
# TODO: --- enable the following line before merging to main ------------- #
# $(PYTHON) -m pip uninstall -y pennylane
# ------------------------------------------------------------------------ #
$(PYTHON) -m pip install -e . --extra-index-url https://test.pypi.org/simple $(PIP_VERBOSE_FLAG)
rm -r frontend/pennylane_catalyst.egg-info

Expand Down
6 changes: 3 additions & 3 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ lxml_html_clean

# Pre-install PL development wheels
--extra-index-url https://test.pypi.org/simple/
pennylane-lightning-kokkos==0.43.0.dev40
pennylane-lightning==0.43.0.dev40
pennylane==0.43.0.dev71
pennylane-lightning-kokkos==0.43.0
pennylane-lightning==0.43.0
pennylane @ git+https://github.com/pennylaneAI/pennylane@v0.43.0-rc0
2 changes: 1 addition & 1 deletion frontend/catalyst/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.13.0-rc6"
__version__ = "0.13.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def parse_dep_versions():
pl_version = dep_versions.get("pennylane")
lq_version = dep_versions.get("lightning")

pl_min_release = "0.42.0"
pl_min_release = "0.43.0"
lq_min_release = pl_min_release

if pl_version is not None:
Expand Down