{"id":20425663,"url":"https://github.com/mapmeld/quantum-circuit-viz","last_synced_at":"2025-04-12T19:04:15.575Z","repository":{"id":140237959,"uuid":"162460547","full_name":"mapmeld/quantum-circuit-viz","owner":"mapmeld","description":"JS visualization for Quantum Quail circuits (based on QISKit Python)","archived":false,"fork":false,"pushed_at":"2024-09-04T14:17:04.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-07T15:06:06.230Z","etag":null,"topics":["quantum-circuit","quantum-circuits","quantum-computing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mapmeld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2018-12-19T16:02:55.000Z","updated_at":"2024-09-04T14:17:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"26c18fd8-c4d2-46e8-9902-8dd8762f68c0","html_url":"https://github.com/mapmeld/quantum-circuit-viz","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"3aa1b66e567049f8c9956742fa8fa56c8e28f371"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapmeld%2Fquantum-circuit-viz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapmeld%2Fquantum-circuit-viz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapmeld%2Fquantum-circuit-viz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapmeld%2Fquantum-circuit-viz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapmeld","download_url":"https://codeload.github.com/mapmeld/quantum-circuit-viz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224742396,"owners_count":17362232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["quantum-circuit","quantum-circuits","quantum-computing"],"created_at":"2024-11-15T07:13:55.941Z","updated_at":"2024-11-15T07:13:56.674Z","avatar_url":"https://github.com/mapmeld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantum Circuit Viz (JS)\n\nJS port of DrawElement \u003ca href=\"https://github.com/Qiskit/qiskit/blob/main/qiskit/visualization/circuit/text.py\"\u003equantum-circuit-drawer\u003c/a\u003e in QISKit-Terra\n\n```javascript\nlet element = elements.MeasureFrom().toString(),\n    expected = [\"┌─┐\",\n                \"┤M├\",\n                \"└╥┘\"];\nassert.deepEqual(expected, element);\n```\n\nMade compatible with \u003ca href=\"http://github.com/mapmeld/quantum-peep\"\u003eQuantum-Peep\u003c/a\u003e\n\n```javascript\nlet program = new Program();\nprogram.add(Gates.X(0));\n\nlet output = textViz(program);\nassert.equal(output,['        ┌───┐',\n                     'q_0: |0\u003e┤ X ├',\n                     '        └───┘',\n                     ' c_0: 0 ═════',\n                     '             '].join('\\n'));\n```\n\n## License\n\nApache-2.0 (same as QISKit-Terra)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapmeld%2Fquantum-circuit-viz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapmeld%2Fquantum-circuit-viz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapmeld%2Fquantum-circuit-viz/lists"}