diff --git a/README.md b/README.md index 2fe12acf..2b77e4c1 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,8 @@ Enter family slug [h2-molecule]: Creating new family with slug 'h2-molecule' Enter title [H2 Molecule]: Enter download name [name]: molname -Enter authors (author1,author2,...): Adam A, Alex B +Enter author name: Adam A +Enter author PennyLane profile handle: AdamA Wrote data to content/qchem/h2-molecule/dataset.json ``` diff --git a/content/other/qml-benchmarks/bars-and-stripes/meta.json b/content/other/qml-benchmarks/bars-and-stripes/meta.json index a1d83007..ce462211 100644 --- a/content/other/qml-benchmarks/bars-and-stripes/meta.json +++ b/content/other/qml-benchmarks/bars-and-stripes/meta.json @@ -8,7 +8,8 @@ "name": "Shahnawaz Ahmed" }, { - "name": "Maria Schuld" + "name": "Maria Schuld", + "username": "mariaschuld" } ], "based_on_papers": true, @@ -31,6 +32,6 @@ "heroImage": "Datasets_GenericHero_SubtleArtOfBenchmarking.png", "thumbnail": "Dataset_Thumb_BarsAndStripes.png", "extra": {}, - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/other/qml-benchmarks/downscaled-mnist/meta.json b/content/other/qml-benchmarks/downscaled-mnist/meta.json index 5af5e5cf..3686ea0f 100644 --- a/content/other/qml-benchmarks/downscaled-mnist/meta.json +++ b/content/other/qml-benchmarks/downscaled-mnist/meta.json @@ -8,7 +8,8 @@ "name": "Shahnawaz Ahmed" }, { - "name": "Maria Schuld" + "name": "Maria Schuld", + "username": "mariaschuld" } ], "based_on_papers": true, @@ -31,6 +32,6 @@ "heroImage": "Datasets_GenericHero_SubtleArtOfBenchmarking.png", "thumbnail": "Dataset_Thumb_MNIST.png", "extra": {}, - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/other/qml-benchmarks/hidden-manifold/meta.json b/content/other/qml-benchmarks/hidden-manifold/meta.json index fc0e81eb..3fe4da02 100644 --- a/content/other/qml-benchmarks/hidden-manifold/meta.json +++ b/content/other/qml-benchmarks/hidden-manifold/meta.json @@ -8,7 +8,8 @@ "name": "Shahnawaz Ahmed" }, { - "name": "Maria Schuld" + "name": "Maria Schuld", + "username": "mariaschuld" } ], "based_on_papers": true, @@ -31,6 +32,6 @@ "heroImage": "Datasets_GenericHero_SubtleArtOfBenchmarking.png", "thumbnail": "Dataset_Thumb_HiddenManifold.png", "extra": {}, - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/other/qml-benchmarks/hyperplanes/meta.json b/content/other/qml-benchmarks/hyperplanes/meta.json index e878afb9..ceff7ed8 100644 --- a/content/other/qml-benchmarks/hyperplanes/meta.json +++ b/content/other/qml-benchmarks/hyperplanes/meta.json @@ -8,7 +8,8 @@ "name": "Shahnawaz Ahmed" }, { - "name": "Maria Schuld" + "name": "Maria Schuld", + "username": "mariaschuld" } ], "based_on_papers": true, @@ -31,6 +32,6 @@ "heroImage": "Datasets_GenericHero_SubtleArtOfBenchmarking.png", "thumbnail": "Dataset_Thumb_IntersectingHyperplanes.png", "extra": {}, - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/other/qml-benchmarks/linearly-separable/meta.json b/content/other/qml-benchmarks/linearly-separable/meta.json index 354c67ef..c52d1cb6 100644 --- a/content/other/qml-benchmarks/linearly-separable/meta.json +++ b/content/other/qml-benchmarks/linearly-separable/meta.json @@ -8,7 +8,8 @@ "name": "Shahnawaz Ahmed" }, { - "name": "Maria Schuld" + "name": "Maria Schuld", + "username": "mariaschuld" } ], "based_on_papers": true, @@ -31,6 +32,6 @@ "heroImage": "Datasets_GenericHero_SubtleArtOfBenchmarking.png", "thumbnail": "Dataset_Thumb_LinearlySeparable.png", "extra": {}, - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/other/qml-benchmarks/two-curves/meta.json b/content/other/qml-benchmarks/two-curves/meta.json index 42f6e35f..b586931f 100644 --- a/content/other/qml-benchmarks/two-curves/meta.json +++ b/content/other/qml-benchmarks/two-curves/meta.json @@ -8,7 +8,8 @@ "name": "Shahnawaz Ahmed" }, { - "name": "Maria Schuld" + "name": "Maria Schuld", + "username": "mariaschuld" } ], "based_on_papers": true, @@ -31,6 +32,6 @@ "heroImage": "Datasets_GenericHero_SubtleArtOfBenchmarking.png", "thumbnail": "Dataset_Thumb_TwoCurves.png", "extra": {}, - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/qchem/beh2-molecule/meta.json b/content/qchem/beh2-molecule/meta.json index 78f5cd5b..ab5b6a74 100644 --- a/content/qchem/beh2-molecule/meta.json +++ b/content/qchem/beh2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } diff --git a/content/qchem/bh3-molecule/meta.json b/content/qchem/bh3-molecule/meta.json index 20a22151..b28f723c 100644 --- a/content/qchem/bh3-molecule/meta.json +++ b/content/qchem/bh3-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/c2-molecule/meta.json b/content/qchem/c2-molecule/meta.json index d2a3746b..acb83a96 100644 --- a/content/qchem/c2-molecule/meta.json +++ b/content/qchem/c2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/c2h2-molecule/meta.json b/content/qchem/c2h2-molecule/meta.json index 2249a446..6576de6b 100644 --- a/content/qchem/c2h2-molecule/meta.json +++ b/content/qchem/c2h2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/c2h4-molecule/meta.json b/content/qchem/c2h4-molecule/meta.json index 3e6789db..cc858e84 100644 --- a/content/qchem/c2h4-molecule/meta.json +++ b/content/qchem/c2h4-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/c2h6-molecule/meta.json b/content/qchem/c2h6-molecule/meta.json index 8f443e08..dacdfe55 100644 --- a/content/qchem/c2h6-molecule/meta.json +++ b/content/qchem/c2h6-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/ch2-molecule/meta.json b/content/qchem/ch2-molecule/meta.json index 7e9105fe..387acffc 100644 --- a/content/qchem/ch2-molecule/meta.json +++ b/content/qchem/ch2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -26,6 +27,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/ch4-molecule/meta.json b/content/qchem/ch4-molecule/meta.json index 88192697..227fadb5 100644 --- a/content/qchem/ch4-molecule/meta.json +++ b/content/qchem/ch4-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/co-molecule/meta.json b/content/qchem/co-molecule/meta.json index 9879a4af..60c75b7a 100644 --- a/content/qchem/co-molecule/meta.json +++ b/content/qchem/co-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/co2-molecule/meta.json b/content/qchem/co2-molecule/meta.json index dbc35967..179295fe 100644 --- a/content/qchem/co2-molecule/meta.json +++ b/content/qchem/co2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h10-molecule/meta.json b/content/qchem/h10-molecule/meta.json index c89d6ea2..3eb58dda 100644 --- a/content/qchem/h10-molecule/meta.json +++ b/content/qchem/h10-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h2-molecule/meta.json b/content/qchem/h2-molecule/meta.json index 0720ea48..38002c6b 100644 --- a/content/qchem/h2-molecule/meta.json +++ b/content/qchem/h2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h2o-molecule/meta.json b/content/qchem/h2o-molecule/meta.json index e05a3771..216cfe8c 100644 --- a/content/qchem/h2o-molecule/meta.json +++ b/content/qchem/h2o-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h2o2-molecule/meta.json b/content/qchem/h2o2-molecule/meta.json index 42ca68ee..ebc069cf 100644 --- a/content/qchem/h2o2-molecule/meta.json +++ b/content/qchem/h2o2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h3-cation/meta.json b/content/qchem/h3-cation/meta.json index 7256ac7b..0e3a0636 100644 --- a/content/qchem/h3-cation/meta.json +++ b/content/qchem/h3-cation/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h4-molecule/meta.json b/content/qchem/h4-molecule/meta.json index 1c44c21e..09e19373 100644 --- a/content/qchem/h4-molecule/meta.json +++ b/content/qchem/h4-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h5-molecule/meta.json b/content/qchem/h5-molecule/meta.json index 6356c621..16ce3dcc 100644 --- a/content/qchem/h5-molecule/meta.json +++ b/content/qchem/h5-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h6-molecule/meta.json b/content/qchem/h6-molecule/meta.json index 4566029d..c3715386 100644 --- a/content/qchem/h6-molecule/meta.json +++ b/content/qchem/h6-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h7-molecule/meta.json b/content/qchem/h7-molecule/meta.json index 4ca09fb3..909892c3 100644 --- a/content/qchem/h7-molecule/meta.json +++ b/content/qchem/h7-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/h8-molecule/meta.json b/content/qchem/h8-molecule/meta.json index 65d0a626..47ea5ca2 100644 --- a/content/qchem/h8-molecule/meta.json +++ b/content/qchem/h8-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/hcn-molecule/meta.json b/content/qchem/hcn-molecule/meta.json index 114c329b..aa6aefdd 100644 --- a/content/qchem/hcn-molecule/meta.json +++ b/content/qchem/hcn-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/hcoh-molecule/meta.json b/content/qchem/hcoh-molecule/meta.json index a9b7f6e2..ac30ea3f 100644 --- a/content/qchem/hcoh-molecule/meta.json +++ b/content/qchem/hcoh-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/he2-molecule/meta.json b/content/qchem/he2-molecule/meta.json index 4aa8d233..8a341e7c 100644 --- a/content/qchem/he2-molecule/meta.json +++ b/content/qchem/he2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/heh-cation/meta.json b/content/qchem/heh-cation/meta.json index 1a53e2a6..8c4e222b 100644 --- a/content/qchem/heh-cation/meta.json +++ b/content/qchem/heh-cation/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/hf-molecule/meta.json b/content/qchem/hf-molecule/meta.json index 14be4a7b..3e5489cb 100644 --- a/content/qchem/hf-molecule/meta.json +++ b/content/qchem/hf-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/li2-molecule/meta.json b/content/qchem/li2-molecule/meta.json index ff7773fd..c639e1c6 100644 --- a/content/qchem/li2-molecule/meta.json +++ b/content/qchem/li2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/lih-molecule/meta.json b/content/qchem/lih-molecule/meta.json index 685ec800..9db8bfc1 100644 --- a/content/qchem/lih-molecule/meta.json +++ b/content/qchem/lih-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/n2-molecule/meta.json b/content/qchem/n2-molecule/meta.json index 647629ba..fcc467ce 100644 --- a/content/qchem/n2-molecule/meta.json +++ b/content/qchem/n2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/n2h2-molecule/meta.json b/content/qchem/n2h2-molecule/meta.json index f233927d..899cad96 100644 --- a/content/qchem/n2h2-molecule/meta.json +++ b/content/qchem/n2h2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/n2h4-molecule/meta.json b/content/qchem/n2h4-molecule/meta.json index 479f7110..5d79f08c 100644 --- a/content/qchem/n2h4-molecule/meta.json +++ b/content/qchem/n2h4-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/neh-cation/meta.json b/content/qchem/neh-cation/meta.json index 45043670..b3672db7 100644 --- a/content/qchem/neh-cation/meta.json +++ b/content/qchem/neh-cation/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/nh3-molecule/meta.json b/content/qchem/nh3-molecule/meta.json index 5294f972..017a857e 100644 --- a/content/qchem/nh3-molecule/meta.json +++ b/content/qchem/nh3-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/o2-molecule/meta.json b/content/qchem/o2-molecule/meta.json index 8fa34c85..77b7a56e 100644 --- a/content/qchem/o2-molecule/meta.json +++ b/content/qchem/o2-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -29,6 +30,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/o3-molecule/meta.json b/content/qchem/o3-molecule/meta.json index cab56174..0f8ef9ad 100644 --- a/content/qchem/o3-molecule/meta.json +++ b/content/qchem/o3-molecule/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qchem/oh-anion/meta.json b/content/qchem/oh-anion/meta.json index 6410de60..a9e79612 100644 --- a/content/qchem/oh-anion/meta.json +++ b/content/qchem/oh-anion/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -28,6 +29,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qspin/bose-hubbard-model/meta.json b/content/qspin/bose-hubbard-model/meta.json index f441004f..459f303d 100644 --- a/content/qspin/bose-hubbard-model/meta.json +++ b/content/qspin/bose-hubbard-model/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -27,6 +28,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qspin/fermi-hubbard-model/meta.json b/content/qspin/fermi-hubbard-model/meta.json index a65899ab..8e1f572f 100644 --- a/content/qspin/fermi-hubbard-model/meta.json +++ b/content/qspin/fermi-hubbard-model/meta.json @@ -2,7 +2,8 @@ "abstract": null, "authors": [ { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -27,6 +28,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qspin/transverse-field-ising-model/meta.json b/content/qspin/transverse-field-ising-model/meta.json index 00cad630..b49586b6 100644 --- a/content/qspin/transverse-field-ising-model/meta.json +++ b/content/qspin/transverse-field-ising-model/meta.json @@ -2,10 +2,12 @@ "abstract": null, "authors": [ { - "name": "Diego Guala" + "name": "Diego Guala", + "username": "Diego" }, { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -30,6 +32,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" } \ No newline at end of file diff --git a/content/qspin/xxz-heisenberg-model/meta.json b/content/qspin/xxz-heisenberg-model/meta.json index cd236e70..2a1df478 100644 --- a/content/qspin/xxz-heisenberg-model/meta.json +++ b/content/qspin/xxz-heisenberg-model/meta.json @@ -2,10 +2,12 @@ "abstract": null, "authors": [ { - "name": "Diego Guala" + "name": "Diego Guala", + "username": "Diego" }, { - "name": "Utkarsh Azad" + "name": "Utkarsh Azad", + "username": "whatsis" } ], "based_on_papers": false, @@ -30,6 +32,6 @@ "changelog": [ "version 0.1 : initial public release" ], - "dateOfLastModification": "2024-12-05", + "dateOfLastModification": "2024-12-17", "dateOfPublication": "2024-09-11" -} \ No newline at end of file +} diff --git a/lib/dsets/app.py b/lib/dsets/app.py index a914288b..f581e3af 100644 --- a/lib/dsets/app.py +++ b/lib/dsets/app.py @@ -25,7 +25,7 @@ msg, progress, ) -from dsets.schemas import AuthorName, fields +from dsets.schemas import Author, fields from dsets.settings import CLIContext, Settings from .builder import AssetLoader, compile_dataset_build @@ -269,12 +269,20 @@ def add(dataset_file: Path): meta=doctree.Reference[schemas.DatasetFamilyMeta](path="meta.json"), ) - authors = [ - author.strip() - for author in typer.prompt("Enter authors (author1,author2,...)") - .strip() - .split(",") - ] + authors = [] + while True: + name = typer.prompt("Enter author name", default="").strip() + if not name: + if not authors: + continue + else: + break + + username = typer.prompt( + "Enter author PennyLane profile handle", default="" + ).strip() + authors.append(Author(name=name, username=username if username else None)) + family_doc.parent.mkdir(parents=True, exist_ok=True) hero_image = _prompt_for_image( "Enter path to banner image (leave blank to continue)", family_doc.parent @@ -289,7 +297,7 @@ def add(dataset_file: Path): citation=doctree.Reference[fields.BibtexStr](path="citation.txt"), using_this_dataset=doctree.Reference[str](path="using_this_dataset.md"), license="[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en)", - authors=[AuthorName(name=name) for name in authors], + authors=authors, date_of_last_modification=today, date_of_publication=today, hero_image=hero_image.name if hero_image else None, @@ -304,7 +312,7 @@ def add(dataset_file: Path): bibtex.generate_bibtex( family_slug, family_title, - authors=authors, + authors=[author.name for author in authors], publication_url=f"https://pennylane.ai/datasets/{class_slug}/{family_slug}", ) ) diff --git a/lib/dsets/schemas/__init__.py b/lib/dsets/schemas/__init__.py index 841504f1..606b57b7 100644 --- a/lib/dsets/schemas/__init__.py +++ b/lib/dsets/schemas/__init__.py @@ -1,4 +1,4 @@ -from .author import Author, AuthorHandle, AuthorName +from .author import Author from .dataset import Dataset from .dataset_class import DatasetAttribute, DatasetClass, DatasetParameter from .dataset_collection import DatasetCollection @@ -11,8 +11,6 @@ __all__ = [ "Author", - "AuthorHandle", - "AuthorName", "Dataset", "DatasetAttribute", "DatasetCollection", diff --git a/lib/dsets/schemas/author.py b/lib/dsets/schemas/author.py index 54a99212..fb5a4b4f 100644 --- a/lib/dsets/schemas/author.py +++ b/lib/dsets/schemas/author.py @@ -1,28 +1,15 @@ from pydantic import BaseModel, ConfigDict -class AuthorHandle(BaseModel): +class Author(BaseModel): """Model for dataset authors represented by their PennyLane.ai username. - Attributes: - username: Username of the PennyLane.ai profile of the author - """ - - model_config = ConfigDict(extra="forbid") - - username: str - - -class AuthorName(BaseModel): - """Model for dataset authors represented by their name. - Attributes: name: Name of the author + username: PennyLane.ai profile username of the author """ model_config = ConfigDict(extra="forbid") name: str - - -Author = AuthorHandle | AuthorName + username: str | None = None diff --git a/lib/tests/dsets/unit/schemas/test_dataset_family.py b/lib/tests/dsets/unit/schemas/test_dataset_family.py index 2625a628..0d448b6c 100644 --- a/lib/tests/dsets/unit/schemas/test_dataset_family.py +++ b/lib/tests/dsets/unit/schemas/test_dataset_family.py @@ -3,8 +3,6 @@ from dsets.lib.doctree import Reference from dsets.schemas import ( - AuthorHandle, - AuthorName, Dataset, DatasetAttribute, DatasetClass, @@ -27,8 +25,7 @@ class TestDatasetFamily: "qchem" ], "authors": [ - {"name": "Author 1"}, - {"username": "author2"} + {"name": "Author Name", "username": "AuthorHandle"} ], "changelog": ["Initial release"], "abstract": "Abstract...", @@ -131,8 +128,8 @@ def test_validate_json(self): meta = family.meta assert meta.description == "Description for H2 Molecule." assert meta.title == "H2 Molecule" - assert meta.authors[0] == AuthorName(name="Author 1") - assert meta.authors[1] == AuthorHandle(username="author2") + assert meta.authors[0].name == "Author Name" + assert meta.authors[0].username == "AuthorHandle" assert meta.abstract == "Abstract..." assert meta.using_this_dataset == Reference(path="about.md") assert meta.citation == Reference(path="citation.txt") diff --git a/lib/tests/support/content/foo/meta.json b/lib/tests/support/content/foo/meta.json index 71ff2c7c..39c30dec 100644 --- a/lib/tests/support/content/foo/meta.json +++ b/lib/tests/support/content/foo/meta.json @@ -14,8 +14,7 @@ "$path": "./using_this_dataset.md" }, "authors": [ - {"name": "Author 1"}, - {"username": "author2"} + {"name": "Author Name", "username": "AuthorHandle"} ], "license": "GPL", "changelog": ["Initial release"], diff --git a/lib/tests/support/datasets-build.json b/lib/tests/support/datasets-build.json index 0b6828a5..d634a006 100644 --- a/lib/tests/support/datasets-build.json +++ b/lib/tests/support/datasets-build.json @@ -115,8 +115,7 @@ "basedOnPapers": false, "description": "Description.", "authors": [ - {"name": "Author 1"}, - {"username": "author2"} + {"name": "Author Name", "username": "AuthorHandle"} ], "citation": "@misc{FooData,\n title = {Data!}, \n author = {Author}, \n howpublished = {\\url{https://pennylane.ai/datasets/foo/bar}}, \n year = {2023}\n}\n", "sourceCodeUrl": null,