{"id":18047239,"url":"https://github.com/johanvos/quantumjava","last_synced_at":"2025-04-05T05:02:26.440Z","repository":{"id":49284741,"uuid":"172976300","full_name":"johanvos/quantumjava","owner":"johanvos","description":"Samples related to \"Quantum Computing for Java Developers\"","archived":false,"fork":false,"pushed_at":"2024-11-02T19:31:33.000Z","size":22352,"stargazers_count":139,"open_issues_count":8,"forks_count":37,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-29T04:03:35.693Z","etag":null,"topics":["java","quantum","quantum-computing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johanvos.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}},"created_at":"2019-02-27T19:27:04.000Z","updated_at":"2025-02-16T07:39:29.000Z","dependencies_parsed_at":"2024-12-22T00:10:50.350Z","dependency_job_id":"a299d1e6-c61e-4274-b0e7-c359a2edf496","html_url":"https://github.com/johanvos/quantumjava","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanvos%2Fquantumjava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanvos%2Fquantumjava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanvos%2Fquantumjava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanvos%2Fquantumjava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johanvos","download_url":"https://codeload.github.com/johanvos/quantumjava/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289409,"owners_count":20914464,"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":["java","quantum","quantum-computing"],"created_at":"2024-10-30T19:10:48.230Z","updated_at":"2025-04-05T05:02:26.411Z","avatar_url":"https://github.com/johanvos.png","language":"Java","readme":"# Quantum Computing samples in Java\n\nThis repository contains the source code for the samples discussed in\n\u003ca href=\"https://www.manning.com/books/quantum-computing-for-java-developers?a_aid=quantu\nmjava\u0026a_bid=e5166ab9\"\u003eQuantum Computing for Developers\u003c/a\u003e\n\n\u003ca href=\"https://www.manning.com/books/quantum-computing-for-java-developers?a_aid=quantumjava\u0026a_bid=e5166ab9\"\u003e\u003cimg align=\"right\" src=\"https://user-images.githubusercontent.com/767876/187063034-b40b74c8-7ff1-4236-b643-383da8003723.png\" alt=\"Quantum Computing for Developers\"/\u003e\u003c/a\u003e\n\nIt is based on the \u003ca href=\"https://github.com/redfx-quantum/strange\"\u003eStrange\u003c/a\u003e Quantum Simulator, which provides an execution environment for\nquantum algorithms in Java.  \nSome samples use a UI, e.g. to visualize the quantum circuit. In\nthat case, \u003ca href=\"https://github.com/redfx-quantum/strangefx\"\u003eStrangeFX\u003c/a\u003e\nis used, which is a JavaFX-based framework that allows the visualisation\nof quantum circuits.\n\nThe samples in this repository correspond to the chapters in the book.\nDon't worry if you don't have the book, you can still run the\nsamples.\n\n## Chapter 2: HelloWorld, Quantum Computing\n\u003ca href=\"/ch02/hellostrange\"\u003eHelloStrange\u003c/a\u003e\n\n## Chapter 3: Qubits and Quantum Gates, the basic units in Quantum Computing\n\u003ca href=\"/ch03/paulix\"\u003ePauli X\u003c/a\u003e  \n\u003ca href=\"/ch03/paulixui\"\u003ePauli X with user interface\u003c/a\u003e\n\n## Chapter 4: Superposition\n\u003ca href=\"/ch04/hadamard\"\u003eHadamard\u003c/a\u003e  \n\n## Chapter 5: Entanglement\n\u003ca href=\"/ch05/classiccoin\"\u003eClassic coins\u003c/a\u003e  \n\u003ca href=\"/ch05/quantumcoin\"\u003eQuantum coins\u003c/a\u003e  \n\u003ca href=\"/ch05/cnot\"\u003eCNot gate\u003c/a\u003e  \n\u003ca href=\"/ch05/bellstate\"\u003eBell state\u003c/a\u003e  \n\n## Chapter 6: Quantum networking, the basics\n\u003ca href=\"/ch06/classic\"\u003eClassic network\u003c/a\u003e  \n\u003ca href=\"/ch06/classiccopy\"\u003eNo-cloning theorem\u003c/a\u003e  \n\u003ca href=\"/ch06/teleport\"\u003eQuantum Teleportation\u003c/a\u003e  \n\u003ca href=\"/ch06/repeater\"\u003eQuantum Repeater\u003c/a\u003e  \n\n## Chapter 7: Our HelloWorld explained\n\u003ca href=\"/ch07/randombit\"\u003eRandomBit\u003c/a\u003e  \n\u003ca href=\"/ch07/randombitdebug\"\u003eRandomBit with debug\u003c/a\u003e  \n\u003ca href=\"/ch07/add1\"\u003eQuantum Adder\u003c/a\u003e  \n\u003ca href=\"/ch07/add2\"\u003eQuantum Adder with carry bit\u003c/a\u003e  \n\n## Chapter 8: Secure Communication using quantum computing\n\u003ca href=\"/ch08/naive\"\u003eA first (naive) approach\u003c/a\u003e  \n\u003ca href=\"/ch08/haha\"\u003eApplying 2 Hadamard gates\u003c/a\u003e  \n\u003ca href=\"/ch08/superposition\"\u003eUsing superposition\u003c/a\u003e  \n\u003ca href=\"/ch08/guess\"\u003eGuess the possibilities\u003c/a\u003e  \n\u003ca href=\"/ch08/bb84\"\u003eQKD in Java\u003c/a\u003e  \n\n## Chapter 9: Deutsch-Jozsa algorithm\n\u003ca href=\"/ch09/function\"\u003eConstant and balanced functions\u003c/a\u003e  \n\u003ca href=\"/ch09/reversibleX\"\u003eReversible gates\u003c/a\u003e  \n\u003ca href=\"/ch09/oracle\"\u003eQuantum oracle\u003c/a\u003e  \n\u003ca href=\"/ch09/applyoracle\"\u003eApplying a Quantum oracle\u003c/a\u003e  \n\u003ca href=\"/ch09/deutsch\"\u003eDeutsch algorithm\u003c/a\u003e  \n\u003ca href=\"/ch09/deutschjozsa\"\u003eDeutsch Jozsa algorithm\u003c/a\u003e  \n\n## Chapter 10: Grover's Search Algorithm\n\u003ca href=\"/ch10/classicsearch\"\u003eA classic search function\u003c/a\u003e  \n\u003ca href=\"/ch10/quantumsearch\"\u003eQuantum search\u003c/a\u003e  \n\u003ca href=\"/ch10/grover\"\u003eThe algorithm behind Grover's search\u003c/a\u003e  \n\u003ca href=\"/ch10/stepbystepgrover\"\u003eThe algorithm, step by step\u003c/a\u003e  \n\u003ca href=\"/ch10/groveroracle\"\u003eThe quantum Oracle in Grover's search\u003c/a\u003e  \n\n## Chapter 11: Shor's Algorithm\n\u003ca href=\"/ch11/classicfactor\"\u003eA classic factoring approach\u003c/a\u003e  \n\u003ca href=\"/ch11/semiclassicfactor\"\u003eA classic implementation of a quantum factoringapproach\u003c/a\u003e  \n\u003ca href=\"/ch11/quantumfactor\"\u003eA quantum factoring approach\u003c/a\u003e  \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanvos%2Fquantumjava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohanvos%2Fquantumjava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanvos%2Fquantumjava/lists"}