Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-linux-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}/llvm-build
key: ${{ matrix.container_img }}-llvm-${{ needs.constants.outputs.llvm_version }}-3.11-wheel-build
key: ${{ matrix.container_img }}-llvm-${{ needs.constants.outputs.llvm_version }}-3.12-wheel-build
fail-on-cache-miss: True

- name: Get Cached Stablehlo Source
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}/llvm-build
key: ${{ matrix.container_img }}-llvm-${{ needs.constants.outputs.llvm_version }}-3.11-wheel-build
key: ${{ matrix.container_img }}-llvm-${{ needs.constants.outputs.llvm_version }}-3.12-wheel-build
fail-on-cache-miss: True

- name: Get Cached Stablehlo Source
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-wheel-macos-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ jobs:
lookup-only: True

- name: Setup Python version
# There are multiple Python versions installed on the GitHub image, 3.11 - 3.14 is already
# There are multiple Python versions installed on the GitHub image, 3.12 - 3.14 is already
# available under /Library/Frameworks/Python.framework/Versions/, but homebrew also provides
# 3.11 - 3.14. Make sure to consistently use the system versions.
# 3.12 - 3.14. Make sure to consistently use the system versions.
run: |
echo /Library/Frameworks/Python.framework/Versions/${{ matrix.python_version }}/bin >> $GITHUB_PATH

Expand Down Expand Up @@ -247,9 +247,9 @@ jobs:
ref: ${{ inputs.branch || github.ref }}

- name: Setup Python version
# There are multiple Python versions installed on the GitHub image, 3.11 - 3.14 is already
# There are multiple Python versions installed on the GitHub image, 3.12 - 3.14 is already
# available under /Library/Frameworks/Python.framework/Versions/, but homebrew also provides
# 3.11 - 3.14. Make sure to consistently use the system versions.
# 3.12 - 3.14. Make sure to consistently use the system versions.
run: |
echo /Library/Frameworks/Python.framework/Versions/${{ matrix.python_version }}/bin >> $GITHUB_PATH

Expand Down Expand Up @@ -461,9 +461,9 @@ jobs:
path: ${{ github.workspace }}/standalone_plugin_wheel/wheel

- name: Setup Python version
# There are multiple Python versions installed on the GitHub image, 3.11 - 3.14 is already
# There are multiple Python versions installed on the GitHub image, 3.12 - 3.14 is already
# available under /Library/Frameworks/Python.framework/Versions/, but homebrew also provides
# 3.11 - 3.14. Make sure to consistently use the system versions.
# 3.12 - 3.14. Make sure to consistently use the system versions.
run: |
echo /Library/Frameworks/Python.framework/Versions/${{ matrix.python_version }}/bin >> $GITHUB_PATH

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/constants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@ jobs:
- name: Python versions
id: python_versions
run: |
echo 'python_versions=["3.11", "3.12"]' >> $GITHUB_OUTPUT
echo 'python_versions=["3.12"]' >> $GITHUB_OUTPUT

- name: Python test versions
id: python_test_versions
run: |
echo 'python_test_versions=["3.11", "3.12", "3.13", "3.14"]' >> $GITHUB_OUTPUT
echo 'python_test_versions=["3.12", "3.13", "3.14"]' >> $GITHUB_OUTPUT

- name: Primary Python version
id: primary_python_version
run: |
echo 'primary_python_version=3.11' >> $GITHUB_OUTPUT
echo 'primary_python_version=3.12' >> $GITHUB_OUTPUT

- name: Get last build python version for forward compatibility
id: forward_compat_python_version
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ formats:
build:
os: ubuntu-24.04
tools:
python: "3.11"
python: "3.12"
apt_packages:
- graphviz
- cmake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_generic_catalyst_program(as_mod):
}) {transform.with_named_sequence} : () -> ()
"func.func"() <{function_type = () -> tensor<2xcomplex<f64>>, sym_name = "circuit", sym_visibility = "public"}> ({
%0 = "arith.constant"() <{value = 0 : i64}> : () -> i64
"quantum.device"(%0) <{kwargs = "{'shots': 0, 'mcmc': False, 'num_burnin': 0, 'kernel_name': None}", lib = "/usr/local/lib/python3.11/dist-packages/pennylane_lightning/liblightning_qubit_catalyst.so", device_name = "LightningSimulator"}> : (i64) -> ()
"quantum.device"(%0) <{kwargs = "{'shots': 0, 'mcmc': False, 'num_burnin': 0, 'kernel_name': None}", lib = "/usr/local/lib/python3.12/dist-packages/pennylane_lightning/liblightning_qubit_catalyst.so", device_name = "LightningSimulator"}> : (i64) -> ()
%1 = "quantum.alloc"() <{nqubits_attr = 1 : i64}> : () -> !quantum.reg
%2 = "quantum.extract"(%1) <{idx_attr = 0 : i64}> : (!quantum.reg) -> !quantum.bit
%3 = "quantum.custom"(%2) <{gate_name = "Hadamard", operandSegmentSizes = array<i32: 0, 1, 0, 0>, resultSegmentSizes = array<i32: 1, 0>}> : (!quantum.bit) -> !quantum.bit
Expand Down
Loading