{"id":44039772,"url":"https://github.com/qubit-os/qubit-os-proto","last_synced_at":"2026-02-10T03:01:18.553Z","repository":{"id":335398167,"uuid":"1142100865","full_name":"qubit-os/qubit-os-proto","owner":"qubit-os","description":"Protocol Buffers definitions for QubitOS - versioned contracts for pulse specs, Hamiltonians, and backend interfaces","archived":false,"fork":false,"pushed_at":"2026-02-07T18:35:38.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-08T03:13:44.683Z","etag":null,"topics":["grpc","protobuf","protocol-buffers","quantum","quantum-computing"],"latest_commit_sha":null,"homepage":"https://qubit-os.github.io","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qubit-os.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-26T00:15:15.000Z","updated_at":"2026-02-07T18:34:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qubit-os/qubit-os-proto","commit_stats":null,"previous_names":["qubit-os/qubit-os-proto"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qubit-os/qubit-os-proto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubit-os%2Fqubit-os-proto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubit-os%2Fqubit-os-proto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubit-os%2Fqubit-os-proto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubit-os%2Fqubit-os-proto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qubit-os","download_url":"https://codeload.github.com/qubit-os/qubit-os-proto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubit-os%2Fqubit-os-proto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29289899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T02:32:08.756Z","status":"ssl_error","status_checked_at":"2026-02-10T02:30:31.937Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","protobuf","protocol-buffers","quantum","quantum-computing"],"created_at":"2026-02-07T20:14:58.311Z","updated_at":"2026-02-10T03:01:18.549Z","avatar_url":"https://github.com/qubit-os.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QubitOS Protocol Buffers\n\n[![CI](https://github.com/qubit-os/qubit-os-proto/actions/workflows/ci.yaml/badge.svg)](https://github.com/qubit-os/qubit-os-proto/actions/workflows/ci.yaml)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nProtocol Buffer definitions for QubitOS - the open-source quantum control kernel.\n\n## Overview\n\nThis repository contains the protocol buffer definitions that form the contract between QubitOS components:\n\n- **quantum.common.v1** - Shared types (TraceContext, Timestamp, Error)\n- **quantum.pulse.v1** - Pulse specifications (Hamiltonian, PulseShape, GRAPE)\n- **quantum.backend.v1** - Backend service interface (ExecutePulse, Health, HardwareInfo)\n\n## Installation\n\n### Python\n\n```bash\npip install qubit-os-proto\n```\n\n```python\nfrom quantum.pulse.v1 import pulse_pb2, grape_pb2\nfrom quantum.backend.v1 import service_pb2_grpc\n```\n\n### Rust\n\n```toml\n# Cargo.toml\n[dependencies]\nqubit-os-proto = \"0.1\"\n```\n\n```rust\nuse qubit_os_proto::quantum::pulse::v1::PulseShape;\nuse qubit_os_proto::quantum::backend::v1::quantum_backend_client::QuantumBackendClient;\n```\n\n## Structure\n\n```\nquantum/\n├── common/v1/\n│   └── common.proto      # Shared types\n├── pulse/v1/\n│   ├── hamiltonian.proto # System Hamiltonian specification\n│   ├── pulse.proto       # Pulse waveform definition\n│   └── grape.proto       # GRAPE optimization protocol\n└── backend/v1/\n    ├── service.proto     # QuantumBackend gRPC service\n    ├── execution.proto   # Pulse execution messages\n    └── hardware.proto    # Hardware info and health\n```\n\n## Build-Time Generation\n\nCode is generated automatically at build time - no manual generation step needed.\n\n**Rust:** `cargo build` runs `tonic-build` via `build.rs`\n\n**Python:** `pip install .` runs `grpcio-tools` via `setup.py`\n\n### For Contributors\n\nIf you need to lint or check protos directly:\n\n```bash\n# Install buf\nbrew install bufbuild/buf/buf  # macOS\n\n# Lint protos\nbuf lint\n\n# Format check\nbuf format -d\n\n# Check for breaking changes (on PRs)\nbuf breaking --against 'https://github.com/qubit-os/qubit-os-proto.git#branch=main'\n```\n\n## Versioning\n\n- Proto packages use path-based versioning: `quantum.pulse.v1`, `quantum.pulse.v2`\n- The `proto_version` field in messages is informational only\n- Breaking changes require a new package version (v2, v3, etc.)\n- Deprecated versions are supported for at least 2 minor releases\n\n## Documentation\n\n- [Design Document](../docs/QubitOS-Design-v0.5.0.md)\n- [Pauli String Grammar](docs/pauli-string-grammar.md)\n- [Matrix Formats](docs/matrix-formats.md)\n\n## License\n\nApache 2.0 - See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubit-os%2Fqubit-os-proto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubit-os%2Fqubit-os-proto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubit-os%2Fqubit-os-proto/lists"}