https://github.com/cqcl/hugr

Hierarchical Unified Graph Representation for quantum and classical programs

https://github.com/cqcl/hugr

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 (0.4%) to scientific vocabulary

Keywords

compiler intermediate-representation quantinuum quantum-computing

Keywords from Contributors

programming-language autograder standardization simulations interpretability hack projections sequences interaction workflows
Last synced: 5 months ago · JSON representation

Repository

Hierarchical Unified Graph Representation for quantum and classical programs

Basic Info
Statistics
  • Stars: 43
  • Watchers: 13
  • Forks: 13
  • Open Issues: 241
  • Releases: 208
Topics
compiler intermediate-representation quantinuum quantum-computing
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Codeowners

README.md

hugr/README.md

Owner

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

Quantum Software and Technologies

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,424
  • Total Committers: 17
  • Avg Commits per committer: 83.765
  • Development Distribution Score (DDS): 0.686
Past Year
  • Commits: 724
  • Committers: 15
  • Avg Commits per committer: 48.267
  • Development Distribution Score (DDS): 0.682
Top Committers
Name Email Commits
Agustín Borgna 1****q 447
Seyon Sivarajah s****h@q****m 302
Alan Lawrence a****e@q****m 154
Douglas Wilson 1****q 117
Craig Roy c****r 81
dependabot[bot] 4****] 79
Alec Edgington 5****c 71
hugrbot a****t@q****m 54
Luca Mondada 7****a 38
Mark Koch 4****h 35
Lukas Heidemann l****s@h****e 29
github-actions[bot] 4****] 8
Kartik Singhal k****l@q****m 4
tatiana-s s****i@g****m 2
Ammar Husain a****n@g****m 1
Callum Macpherson 9****Q 1
cqc-melf 7****f 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 533
  • Total pull requests: 1,480
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 5 days
  • Total issue authors: 18
  • Total pull request authors: 21
  • Average comments per issue: 0.45
  • Average comments per pull request: 1.3
  • Merged pull requests: 1,062
  • Bot issues: 1
  • Bot pull requests: 157
Past Year
  • Issues: 321
  • Pull requests: 959
  • Average time to close issues: 22 days
  • Average time to close pull requests: 4 days
  • Issue authors: 17
  • Pull request authors: 19
  • Average comments per issue: 0.31
  • Average comments per pull request: 1.44
  • Merged pull requests: 661
  • Bot issues: 1
  • Bot pull requests: 104
Top Authors
Issue Authors
  • aborgna-q (127)
  • ss2165 (103)
  • acl-cqc (68)
  • doug-q (56)
  • zrho (45)
  • mark-koch (37)
  • lmondada (23)
  • hugrbot (20)
  • croyzor (17)
  • cqc-alec (16)
  • tatiana-s (6)
  • qartik (5)
  • CalMacCQ (3)
  • PabloAndresCQ (2)
  • hsemenenko (2)
Pull Request Authors
  • aborgna-q (423)
  • ss2165 (271)
  • acl-cqc (144)
  • dependabot[bot] (142)
  • hugrbot (132)
  • zrho (96)
  • lmondada (78)
  • mark-koch (42)
  • croyzor (41)
  • doug-q (37)
  • cqc-alec (33)
  • github-actions[bot] (15)
  • tatiana-s (8)
  • qartik (6)
  • CalMacCQ (3)
Top Labels
Issue Labels
bug (77) enhancement (66) rust (31) llvm (29) python (22) breaking-change (22) ci (20) spec (16) documentation (13) good first issue (9) tracking-issue (8) perf (6) unsoundness-checks (5) P-high (2) P-medium (1) dependencies (1) https://api.github.com/repos/CQCL/hugr/labels/llvm (1)
Pull Request Labels
dependencies (144) release (99) rust (93) autorelease: pending (35) github_actions (33) python (22) breaking-change (20) autorelease: tagged (15) bug (13) wait to merge (12) enhancement (7) spec (6) documentation (4) run-ci-checks (4) ci (3) llvm (2)

Packages

  • Total packages: 10
  • Total downloads:
    • cargo 351,891 total
    • pypi 25,524 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 227
  • Total maintainers: 7
pypi.org: quantinuum_hugr

Quantinuum's common representation for quantum programs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.6%
Average: 36.5%
Dependent repos count: 63.3%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: hugr

Quantinuum's common representation for quantum programs

  • Versions: 32
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 25,524 Last month
Rankings
Dependent packages count: 9.6%
Average: 36.5%
Dependent repos count: 63.3%
Maintainers (3)
Last synced: 6 months ago
crates.io: hugr-persistent

Persistent IR structure for Quantinuum's HUGR

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,091 Total
Rankings
Dependent repos count: 20.9%
Dependent packages count: 27.7%
Average: 47.8%
Downloads: 94.7%
Maintainers (1)
Last synced: 6 months ago
crates.io: hugr-model

Data model for Quantinuum's HUGR intermediate representation

  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 29,667 Total
Rankings
Dependent repos count: 25.1%
Dependent packages count: 33.3%
Average: 51.6%
Downloads: 96.2%
Maintainers (3)
Last synced: 6 months ago
crates.io: hugr

Quantinuum's Hierarchical Unified Graph Representation

  • Versions: 39
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 79,109 Total
Rankings
Dependent repos count: 28.3%
Dependent packages count: 33.3%
Average: 52.7%
Downloads: 96.5%
Maintainers (3)
Last synced: 6 months ago
crates.io: hugr-llvm

A general and extensible crate for lowering HUGRs into LLVM IR

  • Versions: 28
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 33,785 Total
Rankings
Dependent repos count: 26.6%
Dependent packages count: 35.3%
Average: 52.8%
Downloads: 96.5%
Maintainers (4)
Last synced: 6 months ago
crates.io: hugr-cli

Compiler passes for Quantinuum's HUGR

  • Versions: 33
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 60,068 Total
Rankings
Dependent repos count: 27.3%
Dependent packages count: 36.2%
Average: 53.3%
Downloads: 96.4%
Maintainers (3)
Last synced: 6 months ago
crates.io: hugr-core

Quantinuum's Hierarchical Unified Graph Representation

  • Versions: 34
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 74,472 Total
Rankings
Dependent repos count: 27.3%
Dependent packages count: 36.2%
Average: 53.3%
Downloads: 96.4%
Maintainers (3)
Last synced: 6 months ago
crates.io: hugr-passes

Compiler passes for Quantinuum's HUGR

  • Versions: 33
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 69,874 Total
Rankings
Dependent repos count: 27.3%
Dependent packages count: 36.2%
Average: 53.3%
Downloads: 96.4%
Maintainers (3)
Last synced: 6 months ago
crates.io: quantinuum-hugr

⚠ This crate has been renamed to `hugr` ⚠

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3,825 Total
Rankings
Dependent repos count: 30.0%
Dependent packages count: 35.3%
Average: 53.9%
Downloads: 96.6%
Maintainers (3)
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yml actions
  • Swatinem/rust-cache v2 composite
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain stable composite
  • dtolnay/rust-toolchain master composite
.github/workflows/drop-cache.yml actions
  • actions/checkout v4 composite
.github/workflows/issue.yml actions
  • atlassian/gajira-create v3.0.1 composite
  • atlassian/gajira-login v3.0.1 composite
.github/workflows/unsoundness.yml actions
  • Swatinem/rust-cache v2 composite
  • actions/checkout v4 composite
Cargo.toml cargo
  • cool_asserts 2.0.3 development
  • criterion 0.5.1 development
  • paste 1.0 development
  • rmp-serde 1.1.1 development
  • rstest 0.18.1 development
  • urlencoding 2.1.2 development
  • webbrowser 0.8.10 development
  • bitvec 1.0.1
  • cgmath 0.18.0
  • context-iterators 0.2.0
  • delegate 0.10.0
  • derive_more 0.99.17
  • downcast-rs 1.2.0
  • enum_dispatch 0.3.11
  • html-escape 0.2.13
  • itertools 0.11.0
  • lazy_static 1.4.0
  • num-rational 0.4.1
  • petgraph 0.6.3
  • portgraph 0.9.0
  • pyo3 0.19.0
  • regex 1.9.5
  • serde 1.0
  • serde_json 1.0.97
  • serde_yaml 0.9.19
  • smol_str 0.2.0
  • thiserror 1.0.28
  • typetag 0.2.7
.github/workflows/notify-coverage.yml actions
  • actions/upload-artifact v3 composite
  • dawidd6/action-download-artifact v2 composite
  • slackapi/slack-github-action v1.24.0 composite
.github/workflows/pr-title.yml actions
  • amannn/action-semantic-pull-request v5 composite