Skip to content

Commit

Permalink
Merge pull request #1231 from qiboteam/py3.12
Browse files Browse the repository at this point in the history
Support Python 3.12
  • Loading branch information
alecandido authored Apr 24, 2024
2 parents 76bd0f2 + 2dee381 commit a90c018
Show file tree
Hide file tree
Showing 14 changed files with 771 additions and 1,672 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ 3.9, '3.10', '3.11']
python-version: [ 3.9, '3.10', '3.11', '3.12']
uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main
with:
os: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ 3.9, '3.10', '3.11']
python-version: [ 3.9, '3.10', '3.11', '3.12']
uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@main
with:
os: ${{ matrix.os }}
Expand Down
8 changes: 0 additions & 8 deletions doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,6 @@ Feedback-based Algorithm for Quantum Optimization (FALQON)
:member-order: bysource


Style-based Quantum Generative Adversarial Network (style-qGAN)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

.. autoclass:: qibo.models.qgan.StyleQGAN
:members:
:member-order: bysource


Grover's Algorithm
""""""""""""""""""

Expand Down
2 changes: 1 addition & 1 deletion doc/source/code-examples/advancedexamples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ the following script optimizes the parameters of two rotations so that the circu
output matches a target state using the fidelity as the corresponding loss
function.

.. testcode::
.. code-block:: python
import qibo
qibo.set_backend("tensorflow")
Expand Down
105 changes: 10 additions & 95 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
};

outputs = {
Expand Down Expand Up @@ -46,7 +45,6 @@
install.enable = true;
install.groups = ["dev"];
};
version = "3.11";
};
}
];
Expand Down
Loading

0 comments on commit a90c018

Please sign in to comment.