{"id":20127091,"url":"https://github.com/panadestein/quant_clq","last_synced_at":"2025-08-13T19:14:47.276Z","repository":{"id":206198943,"uuid":"716057989","full_name":"Panadestein/quant_clq","owner":"Panadestein","description":"A quantum interpreter in Common Lisp","archived":false,"fork":false,"pushed_at":"2024-04-30T15:08:38.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-12T14:02:38.513Z","etag":null,"topics":["common-lisp","interpreter","quantum-computing"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Panadestein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-11-08T11:33:15.000Z","updated_at":"2024-05-14T10:01:45.000Z","dependencies_parsed_at":"2023-11-08T12:38:46.974Z","dependency_job_id":"b5d7e18d-f777-498a-a392-bef28e56a28a","html_url":"https://github.com/Panadestein/quant_clq","commit_stats":null,"previous_names":["panadestein/quant_cl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Panadestein/quant_clq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fquant_clq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fquant_clq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fquant_clq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fquant_clq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Panadestein","download_url":"https://codeload.github.com/Panadestein/quant_clq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fquant_clq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270296563,"owners_count":24560364,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["common-lisp","interpreter","quantum-computing"],"created_at":"2024-11-13T20:19:18.330Z","updated_at":"2025-08-13T19:14:47.190Z","avatar_url":"https://github.com/Panadestein.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A quantum interpreter written in Lisp\n\nThis repository contains `clq`, my implementation in Common Lisp of a quantum computer\ninterpreter. It is based on the excellent tutorial by Robert Smith, which you can find [here](https://www.stylewarning.com/posts/quantum-interpreter/).\n\nThe interpreter's correctness has been tested by comparing with the results of the\nIBM's Qiskit Aer simulator, and also the results in a real quantum computer\n(IBM's Eagle QPU).\n\nI have made a literate programming implementation, so the code is embedded in the docs.\nI guess if you are here I don't have to say it, but it is best to explore the\ninterpreter with Emacs, Slime and Org-mode.\n\n## Overview\n\nThe interpreter's idea is simple: evolve the wave function $\\Psi_0^n$ in the full\nHilbert space, that means $2^n \\times 2^n$ if we use $n$ qubits. Then construct\nthe full gates by lifting:\n\n$L_U = I \\otimes \\cdots U \\cdots \\otimes I$\n\nand evolve it:\n\n$$\\Psi_m^n = \\Psi_0^n \\prod_i^m L_{U_i}$$\n\nThe measurement is done by sampling the CDF of the squared amplitudes of the states.\nBut please see the org-mode file for the gory details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanadestein%2Fquant_clq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanadestein%2Fquant_clq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanadestein%2Fquant_clq/lists"}