{"id":19883518,"url":"https://github.com/apachecn/lqcuq-zh","last_synced_at":"2025-09-09T19:26:05.941Z","repository":{"id":56054097,"uuid":"307279696","full_name":"apachecn/lqcuq-zh","owner":"apachecn","description":"使用Qiskit学习量子计算","archived":false,"fork":false,"pushed_at":"2022-03-19T10:50:28.000Z","size":17312,"stargazers_count":56,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-26T03:45:14.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lqcuq.apachecn.org","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apachecn.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}},"created_at":"2020-10-26T06:25:47.000Z","updated_at":"2025-03-20T08:39:41.000Z","dependencies_parsed_at":"2022-08-15T12:20:14.847Z","dependency_job_id":null,"html_url":"https://github.com/apachecn/lqcuq-zh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apachecn/lqcuq-zh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apachecn%2Flqcuq-zh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apachecn%2Flqcuq-zh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apachecn%2Flqcuq-zh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apachecn%2Flqcuq-zh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apachecn","download_url":"https://codeload.github.com/apachecn/lqcuq-zh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apachecn%2Flqcuq-zh/sbom","scorecard":{"id":201872,"data":{"date":"2025-08-11","repo":{"name":"github.com/apachecn/lqcuq-zh","commit":"c36ac8fdfc66111ba796e6b5fa419ff53bc903e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating httpd:2.4 to httpd:2.4@sha256:948fabdc8328e32ce4e6c92718dcdf87fde9c711b575af3a39c923d7ac2f618c","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T22:57:45.539Z","repository_id":56054097,"created_at":"2025-08-16T22:57:45.539Z","updated_at":"2025-08-16T22:57:45.539Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274348734,"owners_count":25268972,"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-09-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2024-11-12T17:20:46.001Z","updated_at":"2025-09-09T19:26:05.904Z","avatar_url":"https://github.com/apachecn.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003ccenter\u003e\u003cfont size=20\u003e使用 Qiskit 学习量子计算 - 翻译版\u003c/font\u003e\u003c/center\u003e\n\n\n\u003ccenter\u003e\u003cimg src=\"docs/pics/media/image1.png\"/\u003e\u003c/center\u003e \n\n\n\n\u003cp align=\"right\"\u003e\u003cfont size=5\u003ehttps://qiskit.org/\u003c/font\u003e\u003c/p\u003e\n\n  \n\n\n\u003ccenter\u003e\u003cfont size=5\u003e中文版译者：徐柳青\n\n电话：18616020096（Wechat）\n\n电子邮件：\u003c45045590@qq.com\u003e\n\nGithub：https://github.com/xushengun/\n\n日期：20201016\u003c/font\u003e\u003c/center\u003e\n\n\n# 前言\n\n\n来自Qiskit社区团队的问候!本教程是Qiskit的大学量子算法/计算课程的补充：\n\n1.  量子算法背后的数学\n\n2.  当今非容错量子设备的细节\n\n3.  用Qiskit编写代码并在IBM的云量子系统上实现量子算法\n\n关于本教程\n----------\n\n这是一个免费的数字版教程，在使用Qiskit\nSDK的同时通过本教程教授量子计算的概念。\n\n以内联方式运行代码\n------------------\n\n本教程构建于可以轻松阅读的jupyter\nnotebook框架上，同时也可以让读者能够直接在本教程中编辑和运行代码。本教程的某些章也可以在IBM\nQuantum Experience中以jupyter notebook的格式打开而无需安装！\n\n\u003e print(\\\"This code works!\\\")\n\u003e\n\u003e This code works!\n\u003e\n\u003e from qiskit import QuantumCircuit\n\u003e\n\u003e qc = QuantumCircuit(2) \\# Create circuit with 2 qubits\n\u003e\n\u003e qc.h(0) \\# Do H-gate on q0\n\u003e\n\u003e qc.cx(0,1) \\# Do CNOT on q1 controlled by q0\n\u003e\n\u003e qc.measure_all()\n\u003e\n\u003e qc.draw()\n\n![](docs/pics/media/image3.png)\n\n学习真正的量子系统\n------------------\n\n最好的学习方法是实践。Qiskit允许用户在舒适的家中使用最先进的量子设备进行实验。本教程不仅教授理论量子计算，而且还教授实现理论的实验量子物理。\n\n![](docs/pics/media/image4.png)\n\n使用本教程的方法\n----------------\n\n### 课程整合\n\n本教程可以作为一个独立的课程，但其最初目的是为配合传统的大学课程而设计。本教程向学生展示了如何使用Qiskit来进行量子算法和硬件的实验，并以此来加强他们的理解。\n\n![](docs/pics/media/image5.png)\n\n### 路线图\n\nQiskit教程中涵盖了广泛的材料，并非所有的材料可以在一个单一课程中揭示。读者可以使用下面的指南来调整需要学习的部分。但是，下面的指南仅是使用本教程的一种建议方法。\n\n![](docs/pics/media/image6.png)\n\n信誉\n----\n\n### 联系方式\n\n如果您对本教程有任何疑问或建议，或者想将其纳入您的课程表，请联系Frank\nHarkins（Francis.Harkins\\@ibm.com）。本着开放源代码的精神，在此GitHub存储库中欢迎任何章节的贡献。\n\n### 贡献者\n\n本教程是多人工作的结果。如果在工作中使用本教程，请引用[bib文件](https://github.com/Qiskit/qiskit-textbook/blob/master/content/qiskit-textbook.bib)或直接引用：\n\n*Abraham Asfaw, Luciano Bello, Yael Ben-Haim, Sergey Bravyi, Lauren\nCapelluto, Almudena Carrera Vazquez, Jack Ceroni, Richard Chen, Albert\nFrisch, Jay Gambetta, Shelly Garion, Leron Gil, Salvador De La Puente\nGonzalez, Francis Harkins, Takashi Imamichi, David McKay, Antonio\nMezzacapo, Zlatko Minev, Ramis Movassagh, Giacomo Nannicni, Paul Nation,\nAnna Phan, Marco Pistoia, Arthur Rattew, Joachim Schaefer, Javad\nShabani, John Smolin, Kristan Temme, Madeleine Tod, Stephen Wood, James\nWootton.*\n\n## 下载\n\n### Docker\n\n```\ndocker pull apachecn0/lqcuq-zh\ndocker run -tid -p \u003cport\u003e:80 apachecn0/lqcuq-zh\n# 访问 http://localhost:{port} 查看文档\n```\n\n### PYPI\n\n```\npip install lqcuq-zh\nlqcuq-zh \u003cport\u003e\n# 访问 http://localhost:{port} 查看文档\n```\n\n### NPM\n\n```\nnpm install -g lqcuq-zh\nlqcuq-zh \u003cport\u003e\n# 访问 http://localhost:{port} 查看文档\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapachecn%2Flqcuq-zh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapachecn%2Flqcuq-zh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapachecn%2Flqcuq-zh/lists"}