Skip to content

Commit

Permalink
fix conflict and merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
soranjh committed Dec 2, 2024
2 parents 548d8be + d7f7a37 commit 069ea7e
Show file tree
Hide file tree
Showing 99 changed files with 3,619 additions and 1,095 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ jobs:
source ${{ steps.venv.outputs.location }}/bin/activate
make POETRY_BIN="${{ steps.poetry.outputs.poetry_bin }}" UPGRADE_PL="${{ needs.compute-build-strategy-matrix.outputs.build-environment == 'dev' }}" environment
- name: Install OpenCL
run: |
sudo apt update
sudo apt install ocl-icd-opencl-dev
- name: Download Worker Load Data Artifact
uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-demo-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
METADATA_FILE_LIST: ${{ needs.generate-metadata-file-list.outputs.metadata_files }}
run: |
cd metadata_schemas
${{ steps.poetry.outputs.bin }} run check-jsonschema -v --traceback-mode full --schemafile demo.metadata.schema.0.1.4.json $METADATA_FILE_LIST
${{ steps.poetry.outputs.bin }} run check-jsonschema -v --traceback-mode full --schemafile demo.metadata.schema.0.1.5.json $METADATA_FILE_LIST
validate-metadata-preview-images:
runs-on: ubuntu-latest
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"backreferences_dir" : "backreferences",
"doc_module" : ("pennylane"),
"junit": "../test-results/sphinx-gallery/junit.xml",
'reset_modules': ("module_resets.reset_jax", "matplotlib", "seaborn"),
"reset_modules": ("module_resets.reset_jax", "matplotlib", "seaborn"),
}


Expand Down
4 changes: 2 additions & 2 deletions demonstrations/braket-parallel-gradients.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"username": "mariaschuld"
},
{
"id": "matthew_beach"
"username": "mbeach"
}
],
"dateOfPublication": "2020-12-08T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Devices and Performance"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/circuits_as_fourier_series.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Circuits as Fourier series",
"authors": [
{
"id": "david_wakeham"
"username": "hapax"
}
],
"dateOfPublication": "2023-09-11T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Optimization",
"Quantum Machine Learning"
Expand Down
6 changes: 3 additions & 3 deletions demonstrations/covalent_cloud_gpu.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"title": "Running GPU-accelerated quantum circuit simulations on Covalent Cloud using PennyLane",
"authors": [
{
"id": "santosh_kumar_radha"
"username": "skradha"
},
{
"id": "ara_ghukasyan"
"username": "aghukasyan"
}
],
"dateOfPublication": "2024-05-24T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Machine Learning"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/getting_started_with_hybrid_jobs.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Getting started with the Amazon Braket Hybrid Jobs",
"authors": [
{
"id": "matthew_beach"
"username": "mbeach"
}
],
"dateOfPublication": "2023-10-16T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Devices and Performance"
],
Expand Down
2 changes: 1 addition & 1 deletion demonstrations/gqe_training.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"dateOfPublication": "2024-09-20T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-08T00:00:00+00:00",
"categories": ["Quantum Machine Learning", "Quantum Chemistry", "Algorithms"],
"tags": [],
"previewImages": [
Expand Down
4 changes: 4 additions & 0 deletions demonstrations/gqe_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,3 +701,7 @@ def generate(self, n_sequences, max_new_tokens, temperature=1.0, device="cpu"):
# Ashish Vaswani *et al.*, "Attention is All you Need".
# Advances in Neural Information Processing Systems, 30 (2017)
#

######################################################################
# About the authors
# -----------------
8 changes: 4 additions & 4 deletions demonstrations/ibm_pennylane.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"title": "Using PennyLane with IBM's quantum devices and Qiskit",
"authors": [
{
"id": "kaur_kristjuhan"
"username": "kkristjuhan"
},
{
"id": "clara_ferreira_cores"
"username": "cfcores"
},
{
"id": "mark_nicholas_jones"
"username": "mnjones"
}
],
"dateOfPublication": "2023-06-20T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Devices and Performance"
],
Expand Down
5 changes: 5 additions & 0 deletions demonstrations/ibm_pennylane.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
*Authors: Kaur Kristjuhan, Clara Ferreira Cores, Mark Nicholas Jones; Molecular Quantum Solutions (MQS) — Posted: 20 June 2023. Last updated: 8 Aug 2024.*
.. warning::
This demo includes some outdated features and may not work as intended.
It can still be used as a guideline, but please consult the `PennyLane-Qiskit plugin documentation <https://docs.pennylane.ai/projects/qiskit/en/stable/>`__
to get the most up-to-date information on the features and usage of this plugin.
Bigger and better quantum computers are built every year. Instead of waiting for the perfect quantum computer to be
released, we can already try out the best hardware that exists today. Experimenting on cutting-edge devices helps us
understand the technology and improve the way we develop quantum software. PennyLane is a fantastic tool for prototyping
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/learning2learn.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Learning to learn with quantum neural networks",
"authors": [
{
"id": "stefano_mangini"
"username": "smangini"
}
],
"dateOfPublication": "2021-03-02T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Machine Learning"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/qnspsa.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Quantum natural SPSA optimizer",
"authors": [
{
"id": "yiheng_duan"
"username": "yduan"
}
],
"dateOfPublication": "2022-07-18T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Optimization"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/qonn.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Optimizing a quantum optical neural network",
"authors": [
{
"id": "theodor_isacsson"
"username": "tisacsson"
}
],
"dateOfPublication": "2020-08-05T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Optimization"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/qrack.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "QJIT compilation with Qrack and Catalyst",
"authors": [
{
"id": "dan_strano"
"username": "dstrano"
}
],
"dateOfPublication": "2024-07-10T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Devices and Performance"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/qsim_beyond_classical.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Beyond classical computing with qsim",
"authors": [
{
"id": "theodor_isacsson"
"username": "tisacsson"
}
],
"dateOfPublication": "2020-11-30T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Hardware",
"Quantum Computing"
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_QUBO.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Quadratic Unconstrained Binary Optimization",
"authors": [
{
"id": "alejandro_montanez"
"username": "alejomonbar"
}
],
"dateOfPublication": "2024-02-29T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Optimization"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"dateOfPublication": "2024-09-16T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-08T00:00:00+00:00",
"categories": ["Quantum Machine Learning", "Quantum Computing"],
"tags": ["Quantum machine learning", "QML", "Adversarial attacks", "Quantum security"],
"previewImages": [
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_adversarial_attacks_QML.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,5 +463,5 @@ def PGD(model, feats, labels, epsilon=0.1, alpha=0.01, num_iter=10):
#

######################################################################
# About the author
# ----------------
# About the authors
# -----------------
6 changes: 3 additions & 3 deletions demonstrations/tutorial_apply_qsvt.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
{
"username": "Jay"
},
{
"id": "jarrett_smalley"
{
"username": "jsmalley"
}
],
"dateOfPublication": "2023-08-22T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Computing",
"Algorithms",
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_barren_gadgets.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Perturbative Gadgets for Variational Quantum Algorithms",
"authors": [
{
"id": "simon_cichy"
"username": "scichy"
}
],
"dateOfPublication": "2022-12-09T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Optimization"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_chemical_reactions.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"title": "Modelling chemical reactions on a quantum computer",
"authors": [
{
"id": "varun_rishi"
"username": "vrishi"
},
{
"username": "ixfoduap"
}
],
"dateOfPublication": "2021-07-23T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Chemistry"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_circuit_compilation.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Compilation of quantum circuits",
"authors": [
{
"id": "borja_requena"
"username": "brequena"
}
],
"dateOfPublication": "2023-06-14T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Getting Started",
"Devices and Performance"
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_classical_kernels.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Approximating a classical kernel with a quantum computer",
"authors": [
{
"id": "elies_gil-fuster"
"username": "egfuster"
}
],
"dateOfPublication": "2022-03-01T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Machine Learning"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_classical_shadows.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"username": "therooler"
},
{
"id": "brian_doolittle"
"username": "bdoolittle"
}
],
"dateOfPublication": "2021-06-14T00:00:00+00:00",
"dateOfLastModification": "2024-10-14T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Algorithms"
],
Expand Down
6 changes: 3 additions & 3 deletions demonstrations/tutorial_classically_boosted_vqe.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"title": "Classically-boosted variational quantum eigensolver",
"authors": [
{
"id": "joana_fraxanet"
"username": "jfraxanet"
},
{
"id": "isidor_schoch"
"username": "ischoch"
}
],
"dateOfPublication": "2022-10-31T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Chemistry"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_coherent_vqls.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Coherent Variational Quantum Linear Solver",
"authors": [
{
"id": "andrea_mari"
"username": "amari"
}
],
"dateOfPublication": "2019-11-06T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Optimization"
],
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_eqnn_force_field.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"username": "orielkiss"
},
{
"id": "isabel_nha_minh_le"
"username": "inmle"
}
],
"dateOfPublication": "2024-03-12T00:00:00+00:00",
"dateOfLastModification": "2024-10-15T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Quantum Machine Learning",
"Quantum Chemistry"
Expand Down
4 changes: 2 additions & 2 deletions demonstrations/tutorial_error_mitigation.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"username": "trbromley"
},
{
"id": "andrea_mari"
"username": "amari"
}
],
"dateOfPublication": "2021-11-29T00:00:00+00:00",
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
"categories": [
"Algorithms",
"Quantum Computing"
Expand Down
Loading

0 comments on commit 069ea7e

Please sign in to comment.