Skip to content

Commit 638e8e1

Browse files
committed
Python 3.12: Disable qiskit and tensorflow algorithms
1 parent 9fe0548 commit 638e8e1

17 files changed

+5
-3
lines changed

Diff for: .github/workflows/ruff.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
ruff:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- run: pip install --user ruff
1616
- run: ruff --output-format=github .

Diff for: .pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
- tomli
3434

3535
- repo: https://github.com/tox-dev/pyproject-fmt
36-
rev: "1.1.0"
36+
rev: "1.2.0"
3737
hooks:
3838
- id: pyproject-fmt
3939

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pre-commit run --all-files --show-diff-on-failure
7373

7474
We want your work to be readable by others; therefore, we encourage you to note the following:
7575

76-
- Please write in Python 3.11+. For instance: `print()` is a function in Python 3 so `print "Hello"` will *not* work but `print("Hello")` will.
76+
- Please write in Python 3.12+. For instance: `print()` is a function in Python 3 so `print "Hello"` will *not* work but `print("Hello")` will.
7777
- Please focus hard on the naming of functions, classes, and variables. Help your reader by using __descriptive names__ that can help you to remove redundant comments.
7878
- Single letter variable names are *old school* so please avoid them unless their life only spans a few lines.
7979
- Expand acronyms because `gcd()` is hard to understand but `greatest_common_divisor()` is not.
File renamed without changes.
File renamed without changes.

Diff for: quantum/deutsch_jozsa.py renamed to quantum/deutsch_jozsa.py.DISABLED

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DISABLED!!
12
#!/usr/bin/env python3
23
"""
34
Deutsch-Jozsa Algorithm is one of the first examples of a quantum

Diff for: quantum/half_adder.py renamed to quantum/half_adder.py.DISABLED

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# DISABLED!!
12
#!/usr/bin/env python3
23
"""
34
Build a half-adder quantum circuit that takes two bits as input,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)