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

pytket-qiskit, extensions for pytket quantum SDK

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

Science Score: 36.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
    1 of 15 committers (6.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.0%) to scientific vocabulary

Keywords from Contributors

quantum-computing compilers quantum-algorithms user-guide programming-language projection archival generic sequences interactive
Last synced: 9 months ago · JSON representation

Repository

pytket-qiskit, extensions for pytket quantum SDK

Basic Info
  • Host: GitHub
  • Owner: CQCL
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 6.88 MB
Statistics
  • Stars: 21
  • Watchers: 10
  • Forks: 15
  • Open Issues: 29
  • Releases: 57
Created over 3 years ago · Last pushed 10 months ago
Metadata Files
Readme License Codeowners

README.md

pytket-qiskit

Slack Stack Exchange

Pytket is a python module for interfacing with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.

pytket-qiskit is an extension to pytket that allows pytket circuits to be run on IBM backends and simulators, as well as conversion to and from Qiskit representations.

Some useful links: - API Documentation

Getting started

pytket-qiskit is available for Python 3.10, 3.11, 3.12 and 3.13, on Linux, MacOS and Windows. To install, run:

shell pip install pytket-qiskit

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

Bugs, support and feature requests

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

There is also a Slack channel for discussion and support. Click here to join.

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: 76
  • Release event: 12
  • Issues event: 66
  • Watch event: 4
  • Delete event: 22
  • Issue comment event: 108
  • Push event: 265
  • Pull request event: 118
  • Pull request review comment event: 131
  • Pull request review event: 181
  • Fork event: 4
Last Year
  • Create event: 76
  • Release event: 12
  • Issues event: 66
  • Watch event: 4
  • Delete event: 22
  • Issue comment event: 108
  • Push event: 265
  • Pull request event: 118
  • Pull request review comment event: 131
  • Pull request review event: 181
  • Fork event: 4

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 370
  • Total Committers: 15
  • Avg Commits per committer: 24.667
  • Development Distribution Score (DDS): 0.681
Past Year
  • Commits: 98
  • Committers: 9
  • Avg Commits per committer: 10.889
  • Development Distribution Score (DDS): 0.673
Top Committers
Name Email Commits
cqc-melf 7****f 118
Alec Edgington 5****c 87
CalMacCQ 9****Q 85
Yao Tang y****g@c****m 33
sjdilkes s****s@c****m 20
dependabot[bot] 4****] 8
Irfan Khan i****n@q****m 7
Isobel Hooper i****r@c****m 3
Travis Thompson 1****o 3
Douglas Wilson d****n@q****m 1
Greyson 3****r 1
Marie Salm m****m@i****e 1
Michaël m****n@p****m 1
Monit Sharma 6****a 1
yoshi-qc 9****c 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 137
  • Total pull requests: 384
  • Average time to close issues: 3 months
  • Average time to close pull requests: 4 days
  • Total issue authors: 28
  • Total pull request authors: 22
  • Average comments per issue: 1.73
  • Average comments per pull request: 0.66
  • Merged pull requests: 309
  • Bot issues: 0
  • Bot pull requests: 39
Past Year
  • Issues: 35
  • Pull requests: 122
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 4 days
  • Issue authors: 11
  • Pull request authors: 8
  • Average comments per issue: 1.46
  • Average comments per pull request: 0.5
  • Merged pull requests: 102
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cqc-alec (60)
  • CalMacCQ (22)
  • cqc-melf (20)
  • nquetschlich (5)
  • yao-cqc (3)
  • IlanIwumbwe (2)
  • yoshi-qc (2)
  • daniel-mills-cqc (2)
  • vanyae-cqc (2)
  • sjdilkes (2)
  • spendierk (2)
  • evmckinney9 (1)
  • ruihao-li (1)
  • irfankhan10 (1)
  • vtomole (1)
Pull Request Authors
  • cqc-melf (163)
  • cqc-alec (141)
  • CalMacCQ (94)
  • dependabot[bot] (56)
  • sjdilkes (13)
  • yao-cqc (10)
  • irfankhan10 (3)
  • trvto (3)
  • gkpotter (2)
  • frankharkins (2)
  • yoshi-qc (2)
  • matteoacrossi (2)
  • robotAstray (2)
  • isobelhooper (2)
  • salmma (2)
Top Labels
Issue Labels
bug (36) circuit_conversion (22) enhancement (11) good first issue (5) dependencies (3) documentation (3) testing (2)
Pull Request Labels
dependencies (56) python (35) github_actions (16) documentation (7) enhancement (2) bug (1) circuit_conversion (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 37,152 last-month
  • Total docker downloads: 14
  • Total dependent packages: 9
  • Total dependent repositories: 15
  • Total versions: 102
  • Total maintainers: 4
pypi.org: pytket-qiskit

Extension for pytket, providing translation to and from the Qiskit framework

  • Versions: 102
  • Dependent Packages: 9
  • Dependent Repositories: 15
  • Downloads: 37,152 Last month
  • Docker Downloads: 14
Rankings
Dependent packages count: 0.8%
Downloads: 2.7%
Dependent repos count: 3.8%
Docker downloads count: 3.8%
Average: 7.5%
Forks count: 14.3%
Stargazers count: 19.4%
Last synced: 10 months ago

Dependencies

.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
.github/workflows/docs/requirements.txt pypi
  • sphinx *
  • sphinx_rtd_theme *
setup.py pypi
  • pytket *
tests/test-requirements.txt pypi
  • hypothesis * test
  • pytest * test
  • pytest-timeout * test
  • requests_mock * test