diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index dc2508143d..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,201 +0,0 @@ -version: 2.1 - -orbs: - aws-cli: circleci/aws-cli@0.1.16 - -jobs: - build: - docker: - - image: circleci/python:3.7.12 - resource_class: large - - steps: - - checkout - - - restore_cache: - keys: - # when lock file changes, use increasingly general patterns to restore cache - - pip-v34c-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_no_deps.txt" }} - - pip-v34c-{{ .Branch }}- - - pip-v34c- - - - run: - name: Install dependencies - command: | - sudo apt install pandoc -qq - python3 -m venv venv - . venv/bin/activate - pip install pip setuptools cmake --upgrade - pip install -r requirements.txt - pip install --no-deps -r requirements_no_deps.txt - - - save_cache: - paths: - - venv - key: pip-v34c-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_no_deps.txt" }} - - - restore_cache: - keys: - - gallery-v34a-{{ .Branch }}-{{ .Revision }} - - gallery-v34a-{{ .Branch }}- - - gallery-v34a- - - - run: - name: Build tutorials - no_output_timeout: 60m - command: | - . venv/bin/activate - make download - make html - cd _build/ && zip -r /tmp/qml_html.zip html && cd ../ - zip -r /tmp/qml_demos.zip demos - zip -r /tmp/qml_backreferences backreferences - - - save_cache: - paths: - - ./demos - key: gallery-v34a-{{ .Branch }}-{{ .Revision }} - - - save_cache: - paths: - - ./_build/html - key: html-{{ .Environment.CIRCLE_SHA1 }} - - - store_artifacts: - path: /tmp/qml_html.zip - - - store_artifacts: - path: /tmp/qml_demos.zip - - - store_artifacts: - path: /tmp/qml_backreferences.zip - - - store_artifacts: - path: _build/html - - - store_test_results: - path: _build/test-results - - - store_artifacts: - path: _build/test-results - - build_dev: - docker: - - image: circleci/python:3.7.12 - resource_class: large - - steps: - - checkout - - - run: - name: Install dependencies - command: | - python3 -m venv venv - . venv/bin/activate - pip install pip setuptools cmake --upgrade - pip install -r requirements.txt - pip install --no-deps -r requirements_no_deps.txt - - - run: - name: Build tutorials - no_output_timeout: 30m - command: | - . venv/bin/activate - make download - make html - cd _build/ && zip -r /tmp/qml_html.zip html && cd ../ - zip -r /tmp/qml_demos.zip demos - zip -r /tmp/qml_backreferences backreferences - - - save_cache: - paths: - - ./_build/html - key: html-{{ .Environment.CIRCLE_SHA1 }} - - - store_artifacts: - path: /tmp/qml_html.zip - - - store_artifacts: - path: /tmp/qml_demos.zip - - - store_artifacts: - path: _build/html - - - store_test_results: - path: _build/test-results - - - store_artifacts: - path: _build/test-results - - deploy_dev: - executor: - name: aws-cli/default - python-version: '3.7.2' - - steps: - - aws-cli/setup - - - restore_cache: - keys: - - html-{{ .Environment.CIRCLE_SHA1 }} - - - deploy: - name: Deploy to AWS S3 - command: | - aws s3 sync _build/html s3://pennylane.ai-dev/qml --delete - - deploy_prod: - executor: - name: aws-cli/default - python-version: '3.7.2' - - steps: - - aws-cli/setup - - - restore_cache: - keys: - - html-{{ .Environment.CIRCLE_SHA1 }} - - - deploy: - name: Deploy to AWS S3 - command: | - aws s3 sync _build/html s3://pennylane.ai-prod/qml --delete - touch _build/html/implementations.html - touch _build/html/beginner.html - aws s3 cp _build/html/implementations.html s3://pennylane.ai-prod/qml/implementations.html --website-redirect https://pennylane.ai/qml/demonstrations.html - aws s3 cp _build/html/beginner.html s3://pennylane.ai-prod/qml/beginner.html --website-redirect https://pennylane.ai/qml/demonstrations.html - - - run: - name: Invalidate CloudFront - command: aws cloudfront create-invalidation --distribution-id $DISTRIBUTION_ID --paths /qml/* - -workflows: - version: 2 - - build_deploy: - jobs: - - build: - filters: - branches: - ignore: dev - - - build_dev: - filters: - branches: - only: dev - - - deploy_prod: - context: aws - requires: - - build - filters: - branches: - only: master - - - deploy_dev: - context: aws - requires: - - build_dev - filters: - branches: - only: dev diff --git a/conf.py b/conf.py index 53af4cdba3..908f9e8def 100644 --- a/conf.py +++ b/conf.py @@ -30,7 +30,7 @@ project = "PennyLane" -copyright = "2022, Xanadu Quantum Technologies, Inc." +copyright = "2025, Xanadu Quantum Technologies, Inc." author = "Xanadu Inc." @@ -39,7 +39,6 @@ # The full version, including alpha/beta/rc tags release = "" - # -- General configuration --------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. @@ -143,7 +142,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/demonstrations.rst b/demonstrations.rst deleted file mode 100644 index c0d0cd061b..0000000000 --- a/demonstrations.rst +++ /dev/null @@ -1,308 +0,0 @@ -.. raw:: html - - - -Demos -===== - -.. meta:: - :property="og:description": Take a deeper dive into quantum computing by exploring cutting-edge algorithms using PennyLane and quantum hardware. - :property="og:image": https://pennylane.ai/qml/_static/demos_card.png - -.. raw:: html - - - - - - -
- -

- Take a deeper dive into quantum computing by exploring cutting-edge algorithms using PennyLane and quantum hardware. -

- - - -
- - - - -
-

- Do you want to make your own demo using PennyLane? Read - the guidelines and submission instructions here, and have - your demo featured on our community page. -

-

- To cite a PennyLane demo, please refer to it as: Author. Title (PennyLane). Date of publication (updated on Date of last update). URL address (accessed on Date of access). -

-
- -

Featured

- - - -

- All content above is free, open-source, and available as executable code downloads. If you would like to contribute a demo, please make a pull request over at our GitHub repository. -

- -
-
- - -.. toctree:: - :maxdepth: 2 - :caption: QML Demos - :hidden: - - demos_community - demos_getting-started - demos_qml - demos_quantum-computing - demos_quantum-chemistry - demos_optimization diff --git a/documentation/reference_demo/demo.py b/documentation/reference_demo/demo.py index fb76f806f2..7f428554f0 100644 --- a/documentation/reference_demo/demo.py +++ b/documentation/reference_demo/demo.py @@ -28,7 +28,7 @@ # --------------------------------------------- # # This document contains a comprehensive collection of all mathematical symbols and notations -# used across the PennyLane quantum machine learning demonstrations. +# used across the PennyLane demonstrations and tutorials. # %% # QUANTUM MECHANICS NOTATION diff --git a/index.rst b/index.rst index dbe870487e..e69de29bb2 100644 --- a/index.rst +++ b/index.rst @@ -1,201 +0,0 @@ -.. raw:: html - -Learn quantum programming -========================= - -.. meta:: - :property="og:description": Sit back and learn about quantum computing, quantum machine learning, and quantum chemistry. Explore key concepts and work through practical demonstrations. - :property="og:image": https://pennylane.ai/qml/_static/hubs/superhub-card.png - - -.. raw:: html - - -
-

- We have entered a new era of quantum computing, where increasingly advanced quantum devices are used to drive an active field of research and applications. -

- Get started in programming for quantum computers by choosing your area of interest below, or check out our full collection of demos and tutorials. -

- -
- -
-

- Yellow folder with Pennylane logo - Explore our new quantum datasets -

-
-
- -
- -
-
-

Browse our full set of demonstrations and tutorials

-
- -
- -

Our aim is to bring together a community focused on quantum machine learning, and provide a leading resource hub for quantum computing education and research.

- -
- -
-
- Light bulb with an atom inside -
-
Research-focused
-
-

Xanadu is not just a software company; we also perform high-impact research and build quantum hardware. Check out some of the papers released using our open-source software tools. -

-
- - -
-
- Blue book with Pennylane logo on it -
-
Documented
-
-

Code documentation is important; it encourages everyone to dive straight in and begin tinkering with the code. We have the highest standard for documentation — our aim is to make everything accessible, from code to theory. -

-
- - -
-
- Fork branch icon -
-
Open-source
-
-

The physics community is embracing open-source software, bringing transparency and reproducibility to physics research. All of our software is open-source, and we are excited to be along for the ride. -

-
- - -
-
- Atom icon -
-
Community-driven
-
-

When we release software, we have the community in mind. Development takes place publicly on GitHub, and members of our team are available to chat on our Slack and discussion forum. -

-
- -
- -
- -.. toctree:: - :maxdepth: 2 - :hidden: - - quantum-computing - quantum-machine-learning - quantum-chemistry - glossary - demonstrations - videos - datasets diff --git a/pyproject.toml b/pyproject.toml index 0c54d175f2..8f02fc70d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [project] name = "qml" version = "0.0.0" -description = "Introductions to key concepts in quantum machine learning, as well as tutorials and implementations from cutting-edge QML research." +description = "Introductions to key concepts in quantum computing, as well as tutorials and implementations from cutting-edge quantum computing research." readme = "README.md" license = "Apache-2.0" requires-python = ">=3.11.0,<3.13.0"