Skip to content

Commit 120e1f1

Browse files
doctorperceptronactions-usermudit2812Mandrenkovdwierichs
authored
Add author profiles (#1258)
Apologies for the large PR, but this touches a large number of demos. This PR replaces legacy demo author information with their new pennylane Profiles. It also introduces a new version of the `demo.metadata.schema` which requires the `username` field (PennyLane Profile), and will not accept the legacy `id` field for demo authors. The expectation is that all demo authors create PennyLane Profiles to store their avatar and bio going forward. *Notes:* The new metadata schema file is exactly the same as the previous version (copy paste) except for the `authors` field: ``` "authors": { "description": "The author(s) of the demo. This array must contain at least one item.", "type": "array", "items": { "$ref": "file:./objects/author.schema.0.2.0.json" }, "minItems": 1 }, ``` --------- Co-authored-by: GitHub Nightly Merge Action <actions@github.com> Co-authored-by: Mudit Pandey <mudit.pandey@xanadu.ai> Co-authored-by: Mikhail Andrenkov <mikhail@xanadu.ai> Co-authored-by: David Wierichs <davidwierichs@gmail.com> Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com> Co-authored-by: Ivana Kurečić <ivana@xanadu.ai> Co-authored-by: Jack Brown <jack.brown486@gmail.com> Co-authored-by: bellekaplan <167111433+bellekaplan@users.noreply.github.com> Co-authored-by: Utkarsh <utkarshazad98@gmail.com> Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai> Co-authored-by: Guillermo Alonso-Linaje <65235481+KetpuntoG@users.noreply.github.com> Co-authored-by: gmlej <gmlejarza@gmail.com> Co-authored-by: Jorge J. Martínez de Lejarza <61199780+gmlejarza@users.noreply.github.com> Co-authored-by: ixfoduap <40441298+ixfoduap@users.noreply.github.com>
1 parent 1bd23da commit 120e1f1

File tree

61 files changed

+264
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+264
-138
lines changed

.github/workflows/validate-demo-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
METADATA_FILE_LIST: ${{ needs.generate-metadata-file-list.outputs.metadata_files }}
102102
run: |
103103
cd metadata_schemas
104-
${{ steps.poetry.outputs.bin }} run check-jsonschema -v --traceback-mode full --schemafile demo.metadata.schema.0.1.4.json $METADATA_FILE_LIST
104+
${{ steps.poetry.outputs.bin }} run check-jsonschema -v --traceback-mode full --schemafile demo.metadata.schema.0.1.5.json $METADATA_FILE_LIST
105105
106106
validate-metadata-preview-images:
107107
runs-on: ubuntu-latest

demonstrations/braket-parallel-gradients.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"username": "mariaschuld"
99
},
1010
{
11-
"id": "matthew_beach"
11+
"username": "mbeach"
1212
}
1313
],
1414
"dateOfPublication": "2020-12-08T00:00:00+00:00",
15-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
15+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1616
"categories": [
1717
"Devices and Performance"
1818
],

demonstrations/circuits_as_fourier_series.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"title": "Circuits as Fourier series",
33
"authors": [
44
{
5-
"id": "david_wakeham"
5+
"username": "hapax"
66
}
77
],
88
"dateOfPublication": "2023-09-11T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1010
"categories": [
1111
"Optimization",
1212
"Quantum Machine Learning"

demonstrations/covalent_cloud_gpu.metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"title": "Running GPU-accelerated quantum circuit simulations on Covalent Cloud using PennyLane",
33
"authors": [
44
{
5-
"id": "santosh_kumar_radha"
5+
"username": "skradha"
66
},
77
{
8-
"id": "ara_ghukasyan"
8+
"username": "aghukasyan"
99
}
1010
],
1111
"dateOfPublication": "2024-05-24T00:00:00+00:00",
12-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
12+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1313
"categories": [
1414
"Quantum Machine Learning"
1515
],

demonstrations/getting_started_with_hybrid_jobs.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"title": "Getting started with the Amazon Braket Hybrid Jobs",
33
"authors": [
44
{
5-
"id": "matthew_beach"
5+
"username": "mbeach"
66
}
77
],
88
"dateOfPublication": "2023-10-16T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1010
"categories": [
1111
"Devices and Performance"
1212
],

demonstrations/ibm_pennylane.metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"title": "Using PennyLane with IBM's quantum devices and Qiskit",
33
"authors": [
44
{
5-
"id": "kaur_kristjuhan"
5+
"username": "kkristjuhan"
66
},
77
{
8-
"id": "clara_ferreira_cores"
8+
"username": "cfcores"
99
},
1010
{
11-
"id": "mark_nicholas_jones"
11+
"username": "mnjones"
1212
}
1313
],
1414
"dateOfPublication": "2023-06-20T00:00:00+00:00",
15-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
15+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1616
"categories": [
1717
"Devices and Performance"
1818
],

demonstrations/learning2learn.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"title": "Learning to learn with quantum neural networks",
33
"authors": [
44
{
5-
"id": "stefano_mangini"
5+
"username": "smangini"
66
}
77
],
88
"dateOfPublication": "2021-03-02T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1010
"categories": [
1111
"Quantum Machine Learning"
1212
],

demonstrations/qnspsa.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"title": "Quantum natural SPSA optimizer",
33
"authors": [
44
{
5-
"id": "yiheng_duan"
5+
"username": "yduan"
66
}
77
],
88
"dateOfPublication": "2022-07-18T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1010
"categories": [
1111
"Optimization"
1212
],

demonstrations/qonn.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"title": "Optimizing a quantum optical neural network",
33
"authors": [
44
{
5-
"id": "theodor_isacsson"
5+
"username": "tisacsson"
66
}
77
],
88
"dateOfPublication": "2020-08-05T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1010
"categories": [
1111
"Optimization"
1212
],

demonstrations/qrack.metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"title": "QJIT compilation with Qrack and Catalyst",
33
"authors": [
44
{
5-
"id": "dan_strano"
5+
"username": "dstrano"
66
}
77
],
88
"dateOfPublication": "2024-07-10T00:00:00+00:00",
9-
"dateOfLastModification": "2024-10-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-06T00:00:00+00:00",
1010
"categories": [
1111
"Devices and Performance"
1212
],

0 commit comments

Comments
 (0)