Skip to content

Rename gradient_fn to diff_method in qml.execute #1938

Rename gradient_fn to diff_method in qml.execute

Rename gradient_fn to diff_method in qml.execute #1938

name: Validate module imports
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tach:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: pip install tach==0.13.1
- name: Run tach
run: |
tach report pennylane/labs
tach check