{"id":48799687,"url":"https://github.com/splch/goqu","last_synced_at":"2026-04-14T01:07:54.708Z","repository":{"id":343756787,"uuid":"1178095497","full_name":"splch/goqu","owner":"splch","description":"A zero-dependency quantum computing SDK for Go","archived":false,"fork":false,"pushed_at":"2026-04-10T23:55:03.000Z","size":12797,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-11T01:22:38.598Z","etag":null,"topics":["go","quantum","quantum-computing","sdk"],"latest_commit_sha":null,"homepage":"https://splch.github.io/goqu/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splch.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-03-10T17:22:42.000Z","updated_at":"2026-04-10T23:55:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/splch/goqu","commit_stats":null,"previous_names":["splch/qgo","splch/goqu"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/splch/goqu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fgoqu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fgoqu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fgoqu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fgoqu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splch","download_url":"https://codeload.github.com/splch/goqu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fgoqu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31777375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","quantum","quantum-computing","sdk"],"created_at":"2026-04-14T01:07:54.145Z","updated_at":"2026-04-14T01:07:54.700Z","avatar_url":"https://github.com/splch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"256\" src=\"https://github.com/user-attachments/assets/42cf36fb-33d3-43d9-9176-c28dd5909958\" /\u003e\n\u003c/p\u003e\n\n# Goqu\n\n*Kamehame-Hadamard!*\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/splch/goqu.svg)](https://pkg.go.dev/github.com/splch/goqu)\n[![CI](https://github.com/splch/goqu/actions/workflows/ci.yml/badge.svg)](https://github.com/splch/goqu/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/splch/goqu/graph/badge.svg?token=9HJMWRRJ01)](https://codecov.io/gh/splch/goqu)\n[![Go Report Card](https://goreportcard.com/badge/github.com/splch/goqu)](https://goreportcard.com/report/github.com/splch/goqu)\n\nA quantum computing SDK in pure Go - build, simulate, transpile, and run quantum circuits with zero external dependencies.\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/splch/goqu/circuit/builder\"\n    \"github.com/splch/goqu/sim/statevector\"\n)\n\nfunc main() {\n    c, _ := builder.New(\"bell\", 2).\n        H(0).\n        CNOT(0, 1).\n        MeasureAll().\n        Build()\n\n    sim := statevector.New(2)\n    counts, _ := sim.Run(c, 1024)\n    fmt.Println(counts) // map[00:~512 11:~512]\n}\n```\n\n## Install\n\n```\ngo get github.com/splch/goqu@latest\n```\n\nRequires Go 1.24+.\n\n## Features\n\n| Area | Details |\n|---|---|\n| Circuit Construction | Fluent builder, 40+ gates, immutable IR, symbolic parameters, dynamic circuits |\n| Simulation | Statevector (28 qubits, auto-parallel), density matrix, Clifford (1000s of qubits), CUDA, Metal |\n| Algorithms | Grover, Shor, VQE, QAOA, QPE, HHL, amplitude estimation, Trotter, VQC, and more |\n| Error Mitigation | ZNE, readout correction, Pauli twirling, dynamical decoupling, PEC, CDR, TREX |\n| Hardware Backends | IBM, IonQ, Google, Amazon Braket, Quantinuum, Rigetti |\n| Transpilation | SABRE routing, 4 optimization levels, decomposition, gate cancellation, verification |\n| Interop | OpenQASM 2/3 parser + emitter, QIR emitter + parser (LLVM IR), Quil emitter |\n| Visualization | Text, SVG, LaTeX circuits; histograms; Bloch spheres; state city plots |\n| Pulse Programming | OpenPulse model, waveforms, defcal |\n| Noise Modeling | Kraus operators, device noise models, depolarizing/amplitude-damping channels |\n| Observability | Zero-dep hooks + OpenTelemetry and Prometheus bridges |\n| Interactive Textbook | 42-chapter curriculum compiled to WASM, live circuit sandboxes, Bloch sphere explorer, spaced-repetition flashcards |\n\n```\nq0: ─H───@──\n         │\nq1: ─────X──\n```\n\n## Documentation\n\n- [API Reference](https://pkg.go.dev/github.com/splch/goqu)\n- [Textbook](https://splch.github.io/goqu/)\n\n## Contributing\n\nContributions welcome - open an issue or submit a PR. Run `make test` before submitting.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplch%2Fgoqu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplch%2Fgoqu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplch%2Fgoqu/lists"}