Skip to content

Commit

Permalink
Merge branch 'master' into devSXgate_2try_test
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisAlfredoNu committed Jan 2, 2025
2 parents aa13394 + e4d9711 commit a8b12b5
Show file tree
Hide file tree
Showing 376 changed files with 49,602 additions and 24,622 deletions.
518 changes: 501 additions & 17 deletions .github/CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If making a feature request, delete the following template and describe, in deta
the feature and why it is needed.

For general technical details check out our documentation:
https://pennylane-lightning.readthedocs.io/
https://docs.pennylane.ai/projects/lightning

-------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_cache_Kokkos_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
kokkos_version:
required: false
type: string
default: 4.3.01
default: 4.5.00
outputs:
exec_model:
description: "The execution model for Kokkos."
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/compat-check-latest-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - latest/latest
uses: ./.github/workflows/tests_lgpu_python.yml
tests_gpu_python:
name: Lightning Compatibility test (tests_gpu_python) - latest/latest
uses: ./.github/workflows/tests_gpu_python.yml
with:
lightning-version: latest
pennylane-version: latest
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/compat-check-latest-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - latest/stable
uses: ./.github/workflows/tests_lgpu_python.yml
tests_gpu_python:
name: Lightning Compatibility test (tests_gpu_python) - latest/stable
uses: ./.github/workflows/tests_gpu_python.yml
with:
lightning-version: latest
pennylane-version: stable
Expand Down Expand Up @@ -48,4 +48,3 @@ jobs:
lightning-version: latest
pennylane-version: stable
secrets: inherit

10 changes: 6 additions & 4 deletions .github/workflows/compat-check-release-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: Compat Check w/PL - release/release

on:
workflow_dispatch:
schedule:
- cron: "0 5 * * 0-6" # Run daily at 5am UTC everyday

jobs:
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - release/release
uses: ./.github/workflows/tests_lgpu_python.yml
tests_gpu_python:
name: Lightning Compatibility test (tests_gpu_python) - release/release
uses: ./.github/workflows/tests_gpu_python.yml
with:
lightning-version: release
pennylane-version: release
Expand Down Expand Up @@ -46,4 +48,4 @@ jobs:
lightning-version: release
pennylane-version: release
secrets: inherit

7 changes: 3 additions & 4 deletions .github/workflows/compat-check-stable-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - stable/latest
uses: ./.github/workflows/tests_lgpu_python.yml
tests_gpu_python:
name: Lightning Compatibility test (tests_gpu_python) - stable/latest
uses: ./.github/workflows/tests_gpu_python.yml
with:
lightning-version: stable
pennylane-version: latest
Expand Down Expand Up @@ -48,4 +48,3 @@ jobs:
lightning-version: stable
pennylane-version: latest
secrets: inherit

8 changes: 4 additions & 4 deletions .github/workflows/compat-check-stable-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
workflow_dispatch:

jobs:
tests_lgpu_python:
name: Lightning Compatibility test (tests_lgpu_python) - stable/stable
uses: ./.github/workflows/tests_lgpu_python.yml
tests_gpu_python:
name: Lightning Compatibility test (tests_gpu_python) - stable/stable
uses: ./.github/workflows/tests_gpu_python.yml
with:
lightning-version: stable
pennylane-version: stable
Expand Down Expand Up @@ -48,4 +48,4 @@ jobs:
lightning-version: stable
pennylane-version: stable
secrets: inherit

6 changes: 4 additions & 2 deletions .github/workflows/compat-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Compat Check Docker - Lightning@release

on:
workflow_dispatch:
schedule:
- cron: "0 5 * * 0-6" # Run daily at 5am UTC everyday

concurrency:
group: docker_linux_x86_64-release
Expand All @@ -12,7 +14,7 @@ jobs:
name: Docker release - Linux::x86_64
uses: ./.github/workflows/docker_linux_x86_64.yml
with:
lightning-version: v0.37.0
pennylane-version: v0.37.0-rc0
lightning-version: v0.39.0_rc
pennylane-version: v0.39.0-rc0
push-to-dockerhub: false
secrets: inherit # pass all secrets
49 changes: 0 additions & 49 deletions .github/workflows/determine-workflow-runner.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/docker_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
timeout-minutes: 180
name: docker::${{ matrix.os }}::${{ matrix.pl_backend }}::${{ inputs.lightning-version }}
runs-on:
group: 'Lightning Additional Runners'
group: 'PL Additional Runners'
steps:

- name: Checkout
Expand All @@ -63,7 +63,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
load: true
push: false
Expand All @@ -80,7 +80,7 @@ jobs:
docker run --rm test:${{ inputs.lightning-version }}-${{ matrix.pl_backend }}
- name: Build and push version
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ inputs.push-to-dockerhub }}
with:
push: ${{ inputs.push-to-dockerhub }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Checkout PennyLane-Lightning
uses: actions/checkout@v4

- name: Install dependencies
run:
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements.txt

- name: Run isort & black --check
run: make format-python check=1 verbose=1
Expand All @@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt update && sudo apt -y install python3 python3-pip && python -m pip install pip~=22.0 && python3 -m pip install -r requirements-dev.txt
run: sudo apt update && sudo apt -y install python3 python3-pip python-is-python3 && python -m pip install -r requirements.txt

- name: Run formatter
run: PATH=$PATH:/home/ubuntu/.local/bin/:$(dirname $(which python3))/ ./bin/format --check ./pennylane_lightning/core/src
4 changes: 2 additions & 2 deletions .github/workflows/post_release_version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'

- name: Install dependencies
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
--changelog_path "./.github/CHANGELOG.md" --post_release
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v7
with:
commit-message: post release version bump
title: Version Bump
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre_release_version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'

- name: Install dependencies
run: |
Expand All @@ -28,7 +28,7 @@ jobs:
--changelog_path "./.github/CHANGELOG.md" --pre_release
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v7
with:
commit-message: pre release version bump
title: Version Bump
Expand Down
Loading

0 comments on commit a8b12b5

Please sign in to comment.