{"id":16162473,"url":"https://github.com/sunsided/quantum-belltest","last_synced_at":"2026-04-27T20:32:55.366Z","repository":{"id":141992958,"uuid":"200878331","full_name":"sunsided/quantum-belltest","owner":"sunsided","description":"Diving into the Q# language","archived":false,"fork":false,"pushed_at":"2019-08-06T15:51:13.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T03:48:01.935Z","etag":null,"topics":["dotnet","qsharp","quantum-computing","quantum-programming","quantum-programming-language"],"latest_commit_sha":null,"homepage":"","language":"C#","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/sunsided.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":"2019-08-06T15:29:06.000Z","updated_at":"2019-08-06T15:51:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"41a8f7a9-4b81-4b6a-ba70-342f4bb8aea4","html_url":"https://github.com/sunsided/quantum-belltest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sunsided/quantum-belltest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquantum-belltest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquantum-belltest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquantum-belltest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquantum-belltest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunsided","download_url":"https://codeload.github.com/sunsided/quantum-belltest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquantum-belltest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dotnet","qsharp","quantum-computing","quantum-programming","quantum-programming-language"],"created_at":"2024-10-10T02:30:14.464Z","updated_at":"2026-04-27T20:32:55.350Z","avatar_url":"https://github.com/sunsided.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Q# - Bell Test Sample\n\n## Installing the SDK / Runtime\n\nThe SDK is based on the `dotnet` tooling. Install Q# support (see [here](https://docs.microsoft.com/en-us/quantum/install-guide/command-line?view=qsharp-preview)) using:\n\n```sh\ndotnet new -i Microsoft.Quantum.ProjectTemplates\n```\n\nYou can install the Visual Studio Code extension from [here](https://marketplace.visualstudio.com/items?itemName=quantum.quantum-devkit-vscode) by executing\n\n```sh\next install quantum.quantum-devkit-vscode\n```\n\nwithin Visual Studio Code.\n\n\n## Bell Test Example\n\nFollowing [Writing a Quantum Program](https://docs.microsoft.com/de-de/quantum/quickstart?tabs=tabid-vscode\u0026view=qsharp-preview), to create a new project, run:\n\n```sh\ndotnet new console -lang Q# --output Bell\ncd Bell \ncode . # To open in Visual Studio Code.\n```\n\nYou can build and run it on the command line using\n\n```sh\ndotnet build\ndotnet run\n```\n\n## Example output\n\nHere's an example of the program output:\n\n```text\nResource estimation\n-------------------\nMetric         \tSum\nCNOT           \t1000\nQubitClifford  \t1000\nR              \t0\nMeasure        \t4002\nT              \t0\nDepth          \t0\nWidth          \t2\nBorrowedWidth  \t0\n\nExperiment\n----------\nInit:Zero 0s=495  1s=505  agree=1000\nInit:One  0s=499  1s=501  agree=1000\n```\n\nAs we see, measuring a qubit's state after putting it into\nsuperposition via the Hadamard gate (`H()`) makes it collapse\ninto either state |0\u003e or |1\u003e with a 50% chance. However,\nsince both qubits are entangled (as a Bell pair), both\nmeasurements are always identical (1000 out of 1000 times).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Fquantum-belltest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunsided%2Fquantum-belltest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Fquantum-belltest/lists"}