{"id":15425110,"url":"https://github.com/tcnickolas/quantum-programming-in-depth","last_synced_at":"2026-01-08T04:05:12.149Z","repository":{"id":238730799,"uuid":"652350192","full_name":"tcNickolas/quantum-programming-in-depth","owner":"tcNickolas","description":"Code samples for the book \"Quantum Programming In Depth: Solving Problems with Q# and Qiskit\" by Mariia Mykhailova","archived":false,"fork":false,"pushed_at":"2025-01-21T01:18:36.000Z","size":317,"stargazers_count":11,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-02T05:27:09.186Z","etag":null,"topics":["qiskit","qsharp","quantum","quantum-computing","quantum-programming","tutorials"],"latest_commit_sha":null,"homepage":"https://mng.bz/M1R7","language":"Q#","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/tcNickolas.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-06-11T21:36:31.000Z","updated_at":"2025-01-21T01:18:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"df258967-8831-49b9-af60-4578f53332ab","html_url":"https://github.com/tcNickolas/quantum-programming-in-depth","commit_stats":{"total_commits":45,"total_committers":1,"mean_commits":45.0,"dds":0.0,"last_synced_commit":"55725368a6f7dcc973e1959344abd00d0e7c1cd5"},"previous_names":["tcnickolas/quantum-programming-in-depth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcNickolas%2Fquantum-programming-in-depth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcNickolas%2Fquantum-programming-in-depth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcNickolas%2Fquantum-programming-in-depth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcNickolas%2Fquantum-programming-in-depth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcNickolas","download_url":"https://codeload.github.com/tcNickolas/quantum-programming-in-depth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972066,"owners_count":20702706,"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":["qiskit","qsharp","quantum","quantum-computing","quantum-programming","tutorials"],"created_at":"2024-10-01T17:49:55.370Z","updated_at":"2026-01-08T04:05:12.143Z","avatar_url":"https://github.com/tcNickolas.png","language":"Q#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantum Programming In Depth Samples\nCode samples for the book [\"Quantum Programming In Depth: Solving Problems with Q# and Qiskit\"](https://www.manning.com/books/quantum-programming-in-depth) by Mariia Mykhailova.\n\n\u003cimg width=\"600\" height=\"600\" alt=\"Quantum Programming in Depth book cover\" src=\"https://github.com/user-attachments/assets/4cf8153c-183b-4fb0-bc3f-9fe2110f6c95\" /\u003e\n\n### [Chapter 2. Prepare Quantum States](./2_state_preparation/)\n\n### [Chapter 3. Implement Quantum Operations](./3_unitary_implementation/)\n\n### [Chapter 4. Analyze Quantum States](./4_analyze_states/)\n\n### [Chapter 5. Analyze Quantum Operations](./5_analyze_operations/)\n\n### [Chapter 6. Evaluate Classical Functions on a Quantum Computer](./6_reversible_computing/)\n\n### [Chapter 7. Grover's Search Algorithm](./7_grovers_search/)\n\n### [Chapter 8. Solve N Queens Puzzle Using Grover's Algorithm](./8_n_queens/)\n\n### [Chapter 9. Evaluate Performance of Quantum Algorithms](./9_evaluate_performance/)\n\n## Setting up your environment\n\nThe recommended setup for running the samples from this book is based on [Visual Studio Code](https://code.visualstudio.com/).\n\n### Qiskit\n\nOriginally I used Python 3.12, Qiskit 1.3.1, and qiskit-aer 0.15.1 to develop the Qiskit code for this book. \nOnce you have a Python environment set up, you can install these packages using pip:\n\n    pip install qiskit==1.3.1 qiskit-aer==0.15.1\n\nThe latest versions of packages used to test the code is **Qiskit 2.1.2** and **qiskit-aer 0.17.1**.\n\n### Q#\n\nOriginally I used Python 3.12 and Q# 1.11.1 to develop the Q# code for this book. \nOnce you have a Python environment set up, you can install this package using pip:\n\n    pip install qsharp==1.11.1\n\nThe latest version of the package used to test the code is **Q# 1.20.0**.\n\nAdditionally, [Azure Quantum Development Kit extension](https://marketplace.visualstudio.com/items?itemName=quantum.qsharp-lang-vscode) for Visual Studio Code provides Q# language support in the editor. \n\n### pytest\n\nUnit tests in this book are Python-based and use the pytest testing framework. Once you have a Python environment set up, you can install the latest version of pytest using pip:\n\n    pip install pytest\n\n## Running the samples\n\nThe project folder for most sections includes the complete tests for the code developed in this section, even if they are omitted from the book itself. \nTo run the tests for the project, navigate to the folder that corresponds to the section and run pytest.\n\nSections 2.1–2.3, 3.1–3.2, and 6.2 are the exception to this rule, since I don’t introduce the ways to test the code written in these sections until later. The code for these sections can be executed either as a Python script or as a Q# script using the Azure Quantum Development Kit extension. Please refer to the text of corresponding sections for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcnickolas%2Fquantum-programming-in-depth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcnickolas%2Fquantum-programming-in-depth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcnickolas%2Fquantum-programming-in-depth/lists"}