{"id":19943317,"url":"https://github.com/softwareqinc/stab","last_synced_at":"2026-02-15T09:37:26.982Z","repository":{"id":174031023,"uuid":"525451122","full_name":"softwareQinc/stab","owner":"softwareQinc","description":"Fast simulation of stabilizer circuits","archived":false,"fork":false,"pushed_at":"2024-05-02T01:10:19.000Z","size":157424,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-11T07:11:31.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softwareQinc.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":"2022-08-16T16:03:22.000Z","updated_at":"2024-05-02T01:10:23.000Z","dependencies_parsed_at":"2024-01-17T20:47:22.494Z","dependency_job_id":"3379448f-bbe9-4ba9-a054-e72e530d03e2","html_url":"https://github.com/softwareQinc/stab","commit_stats":null,"previous_names":["softwareqinc/stab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/softwareQinc/stab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwareQinc%2Fstab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwareQinc%2Fstab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwareQinc%2Fstab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwareQinc%2Fstab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softwareQinc","download_url":"https://codeload.github.com/softwareQinc/stab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwareQinc%2Fstab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29474795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"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":[],"created_at":"2024-11-13T00:16:09.520Z","updated_at":"2026-02-15T09:37:26.962Z","avatar_url":"https://github.com/softwareQinc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stab\n\n[![GitHub actions](https://github.com/softwareqinc/stab/actions/workflows/cmake.yml/badge.svg)](https://github.com/softwareQinc/stab/actions)\n\nEfficient simulation of Clifford circuits using the method described in Niel de Beaudrap and Steven Herbert's\npaper [\"Fast Stabiliser Simulation with Quadratic Form Expansions\"](https://quantum-journal.org/papers/q-2022-09-15-803/).\nMost functions are implemented from the pseudocode described in the paper.\n\n---\n\n## Pre-requisites\n\n- C++17 compliant compiler, e.g., [GNU gcc](https://gcc.gnu.org/) (`sudo apt install build-essential` to install on\n  Ubuntu/Debian Linux)\n- [CMake](https://cmake.org/) build system (`sudo apt install cmake` to install on Ubuntu/Debian Linux,\n  or `brew install cmake` to install on macOS)\n- [Eigen3](https://eigen.tuxfamily.org/index.php) matrix library version 3.4 or later (`sudo apt install libeigen3-dev`\n  to install on Ubuntu/Debian Linux, or `brew install eigen` to install on macOS)\n\n### Optional\n\n- [Quantum++](https://github.com/softwareqinc/qpp) quantum computing library\n\nTo install Quantum++, execute\n\n```shell\ngit clone --depth=1 https://github.com/softwareqinc/qpp \ncmake -S qpp -B qpp/build\nsudo cmake --build qpp/build --target install\n```\n\nor `brew install quantum++` to install on macOS, or `sudo pkg install quantum++` to install on FreeBSD.\n\n---\n\n## Setup\n\nFrom inside the project's root directory, execute\n\n```shell\ncmake -B build [-DUSE_QPP=ON/OFF]\ncmake --build build --parallel 8\n```\n\nThe flag `USE_QPP` in the square bracket is optional, set to `OFF` by default.\n\nNote that on Windows you may need to set the `EIGEN3_INSTALL_DIR` environment variable to point to your Eigen\ninstallation, and add the path to `stab-common.dll` (usually `.\\build\\Debug` or `.\\build\\Release`) to your `PATH`\nenvironmnt variable. Check out the GitHub actions file [.github/workflows/cmake.yml](.github/workflows/cmake.yml) for\nmore details and a full **stab** setup on Windows.\n\n---\n\n## Unit testing\n\nTo build the unit tests, execute\n\n```shell\ncmake --build build --target unit_tests --parallel 8\n```\n\nTo run the unit tests, execute\n\n```shell\nctest --test-dir build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwareqinc%2Fstab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftwareqinc%2Fstab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwareqinc%2Fstab/lists"}