https://github.com/cqcl/pytket-braket

pytket-braket, extensions for pytket quantum SDK

https://github.com/cqcl/pytket-braket

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary

Keywords from Contributors

compilers quantum-algorithms quantum-computing user-guide
Last synced: 10 months ago · JSON representation

Repository

pytket-braket, extensions for pytket quantum SDK

Basic Info
  • Host: GitHub
  • Owner: CQCL
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 8.01 MB
Statistics
  • Stars: 4
  • Watchers: 8
  • Forks: 2
  • Open Issues: 9
  • Releases: 34
Created almost 4 years ago · Last pushed 10 months ago
Metadata Files
Readme License Codeowners

README.md

pytket-braket

Slack Stack Exchange

Pytket is a python module for interfacing with CQC tket, a set of quantum programming tools.

pytket-braket is an extension to pytket that allows pytket circuits to be executed on a range of devices and simulators via Amazon's Braket service.

Some useful links: - API Documentation

Getting started

pytket-braket is compatible with Python versions 3.10 to 3.13 on Linux, MacOS and Windows. To install, run:

shell pip install pytket-braket

This will install pytket if it isn't already installed, and add new classes and methods into the pytket.extensions namespace.

Bugs and feature requests

Please file bugs and feature requests on the Github issue tracker.

Development

To install an extension in editable mode, simply change to its subdirectory within the modules directory, and run:

shell pip install -e .

Contributing

Pull requests are welcome. To make a PR, first fork the repo, make your proposed changes on the main branch, and open a PR from your fork. If it passes tests and is accepted after review, it will be merged in.

Code style

Formatting

All code should be formatted using black, with default options. This is checked on the CI. The CI is currently using version 20.8b1.

Type annotation

On the CI, mypy is used as a static type checker and all submissions must pass its checks. You should therefore run mypy locally on any changed files before submitting a PR. Because of the way extension modules embed themselves into the pytket namespace this is a little complicated, but it should be sufficient to run the script modules/mypy-check (passing as a single argument the root directory of the module to test). The script requires mypy 0.800 or above.

Linting

We use pylint on the CI to check compliance with a set of style requirements (listed in .pylintrc). You should run pylint over any changed files before submitting a PR, to catch any issues.

Tests

To run the tests for a module:

  1. cd into that module's tests directory;
  2. ensure you have installed pytest, hypothesis, and any modules listed in the test-requirements.txt file (all via pip);
  3. run pytest.

When adding a new feature, please add a test for it. When fixing a bug, please add a test that demonstrates the fix.

Owner

  • Name: Cambridge Quantum
  • Login: CQCL
  • Kind: organization
  • Location: Cambridge, UK

Quantum Software and Technologies

GitHub Events

Total
  • Create event: 41
  • Release event: 4
  • Issues event: 20
  • Watch event: 2
  • Delete event: 21
  • Issue comment event: 34
  • Push event: 162
  • Pull request review comment event: 20
  • Pull request event: 55
  • Pull request review event: 50
  • Fork event: 1
Last Year
  • Create event: 41
  • Release event: 4
  • Issues event: 20
  • Watch event: 2
  • Delete event: 21
  • Issue comment event: 34
  • Push event: 162
  • Pull request review comment event: 20
  • Pull request event: 55
  • Pull request review event: 50
  • Fork event: 1

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 52
  • Total Committers: 7
  • Avg Commits per committer: 7.429
  • Development Distribution Score (DDS): 0.615
Top Committers
Name Email Commits
cqc-melf 7****f@u****m 20
Alec Edgington 5****c@u****m 11
melf c****c@m****e 10
Alec Edgington a****n@c****m 3
Yao Tang y****g@c****m 3
Fernando Betanzo f****o@g****m 3
CalMacCQ 9****Q@u****m 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 32
  • Total pull requests: 216
  • Average time to close issues: 4 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 4
  • Total pull request authors: 13
  • Average comments per issue: 0.63
  • Average comments per pull request: 0.56
  • Merged pull requests: 184
  • Bot issues: 0
  • Bot pull requests: 29
Past Year
  • Issues: 12
  • Pull requests: 54
  • Average time to close issues: 6 days
  • Average time to close pull requests: 6 days
  • Issue authors: 3
  • Pull request authors: 6
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.28
  • Merged pull requests: 40
  • Bot issues: 0
  • Bot pull requests: 5
Top Authors
Issue Authors
  • cqc-alec (18)
  • yoshi-qc (8)
  • cqc-melf (5)
  • dhaycraft (1)
Pull Request Authors
  • cqc-melf (105)
  • cqc-alec (53)
  • dependabot[bot] (29)
  • yoshi-qc (9)
  • CalMacCQ (8)
  • willsimmons1465 (3)
  • johnchildren (2)
  • sjdilkes (2)
  • spendierk (1)
  • ferbetanzo (1)
  • yao-cqc (1)
  • isobelhooper (1)
  • dbcq (1)
Top Labels
Issue Labels
bug (14) enhancement (1)
Pull Request Labels
dependencies (29) github_actions (18) python (5)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 7,905 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 56
  • Total maintainers: 3
pypi.org: pytket-braket

Extension for pytket, providing access to Amazon Braket backends

  • Versions: 56
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 7,905 Last month
Rankings
Dependent packages count: 4.8%
Downloads: 7.3%
Average: 17.0%
Forks count: 19.2%
Dependent repos count: 21.6%
Stargazers count: 31.9%
Maintainers (3)
Last synced: 11 months ago

Dependencies

.github/workflows/docs/requirements.txt pypi
  • sphinx *
  • sphinx_rtd_theme *
setup.py pypi
  • amazon-braket-default-simulator *
  • amazon-braket-schemas *
  • amazon-braket-sdk *
  • boto3-stubs *
  • pytket *
tests/test-requirements.txt pypi
  • hypothesis * test
  • pytest * test
  • pytest-timeout * test
  • requests_mock * test
.github/workflows/build_and_test.yml actions
  • actions/checkout v3 composite
  • actions/deploy-pages v1 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • actions/upload-pages-artifact v1 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/docs.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
.github/workflows/issue.yml actions
  • atlassian/gajira-create v3.0.1 composite
  • atlassian/gajira-login v3.0.1 composite
.github/workflows/lint.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite