From f338e5639198c6ae5a5a58a8782d9dd957352d1a Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Wed, 19 Aug 2026 10:15:11 -0500 Subject: [PATCH] Add CITATION.cff and widen pyqasm version range --- .github/workflows/bump-version.yml | 3 ++- CITATION.cff | 25 +++++++++++++++++++++++++ requirements.txt | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 CITATION.cff diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 133e173..21e36f0 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -62,8 +62,9 @@ jobs: run: | BUMP_TYPE=${{ github.event.inputs.bump_type }} VERSION=$(python3 bin/bump_version.py $BUMP_TYPE) + python3 bin/update_citation.py $VERSION echo "version=$VERSION" >> $GITHUB_OUTPUT - git add qbraid_algorithms/_version.py + git add qbraid_algorithms/_version.py CITATION.cff git commit -m "Bump $BUMP_TYPE version to $VERSION" git push origin qbraid-bot/${{ github.run_id }} diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..bba053b --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,25 @@ +cff-version: 1.2.0 +title: 'qbraid-algorithms: Python package for utilizing, implementing, and building + quantum algorithms in OpenQASM 3.' +message: If you use this software, please cite it using the metadata from this file. +type: software +authors: +- given-names: Ryan James + family-names: Hill + affiliation: qBraid Co. + orcid: https://orcid.org/0009-0006-9222-0810 +- given-names: Harshit + family-names: Gupta + affiliation: qBraid Co. +repository-code: https://github.com/qBraid/qbraid-algorithms +url: https://docs.qbraid.com/v2/algorithms +repository-artifact: https://github.com/qBraid/qbraid-algorithms/releases/tag/v0.1.2 +keywords: +- python +- quantum-computing +- quantum-algorithms +- openqasm +- qbraid +license: Apache-2.0 +version: 0.1.2 +date-released: '2026-02-28' diff --git a/requirements.txt b/requirements.txt index 70d7b9e..8c2e319 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ qbraid>=0.11.0 -pyqasm>=0.5.0,<1.1.0 +pyqasm>=0.5.0,<1.2.0 sympy>=1.14.0 scipy>=1.16.0 numpy>=1.25.2