{"id":13776715,"url":"https://github.com/pasqal-io/horqrux","last_synced_at":"2025-06-22T07:33:59.661Z","repository":{"id":207384691,"uuid":"719011228","full_name":"pasqal-io/horqrux","owner":"pasqal-io","description":"Jax-based quantum state vector simulator.","archived":false,"fork":false,"pushed_at":"2025-05-28T08:27:04.000Z","size":2437,"stargazers_count":26,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-06T10:45:29.399Z","etag":null,"topics":["jax","quantum-machine-learning"],"latest_commit_sha":null,"homepage":"https://pasqal-io.github.io/horqrux/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pasqal-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-11-15T09:02:55.000Z","updated_at":"2025-05-28T08:27:07.000Z","dependencies_parsed_at":"2024-01-29T14:11:44.834Z","dependency_job_id":"11a44d7b-3ae3-4ce9-bdb8-0369883cecea","html_url":"https://github.com/pasqal-io/horqrux","commit_stats":null,"previous_names":["pasqal-io/horqrux"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/pasqal-io/horqrux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqal-io%2Fhorqrux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqal-io%2Fhorqrux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqal-io%2Fhorqrux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqal-io%2Fhorqrux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasqal-io","download_url":"https://codeload.github.com/pasqal-io/horqrux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqal-io%2Fhorqrux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261255849,"owners_count":23131474,"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":["jax","quantum-machine-learning"],"created_at":"2024-08-03T18:00:31.994Z","updated_at":"2025-06-22T07:33:54.650Z","avatar_url":"https://github.com/pasqal-io.png","language":"Python","funding_links":[],"categories":["Quantum simulators"],"sub_categories":[],"readme":"[![Linting / Tests/ Documentation](https://github.com/pasqal-io/horqrux/actions/workflows/run-tests-and-mypy.yml/badge.svg)](https://github.com/pasqal-io/horqrux/actions/workflows/run-tests-and-mypy.yml)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Pypi](https://badge.fury.io/py/horqrux.svg)](https://pypi.org/project/horqrux/)\n![Coverage](https://img.shields.io/codecov/c/github/pasqal-io/horqrux?style=flat-square)\n\n`horqrux` is a [JAX](https://jax.readthedocs.io/en/latest/)-based state vector and density matrix simulator designed for quantum machine learning and acts as a backend for [`Qadence`](https://github.com/pasqal-io/qadence), a digital-analog quantum programming interface.\n\n## Installation\n\nTo install the CPU-only version, simply use `pip`:\n```bash\npip install horqrux\n```\nIf you intend to use GPU:\n\n```bash\npip install --upgrade \"jax[cuda]\" -f https://storage.googleapis.com/jax-releases/jax_releases.html\n```\n\n## Getting started\n`horqrux` adopts a minimalistic and functional interface however the [docs](https://pasqal-io.github.io/horqrux/latest/) provide a comprehensive A-Z guide ranging from how to apply simple primitive and parametric gates, to using [adjoint differentiation](https://arxiv.org/abs/2009.02823) to fit a nonlinear function and implementing [DQC](https://arxiv.org/abs/2011.10395) to solve a partial differential equation.\n\n## Contributing\n\nTo learn how to contribute, please visit the [CONTRIBUTING](docs/CONTRIBUTING.md) page.\n\nWhen developing within `horqrux`, you can either use the python environment manager [`hatch`](https://hatch.pypa.io/latest/):\n\n```bash\npip install hatch\n\n# enter a shell with containing all the dependencies\nhatch shell\n\n# run a command within the virtual environment with all the dependencies\nhatch run python my_script.py\n```\n\nWhen using any other environment manager like `venv` or `conda`, simply do:\n\n```bash\n# within the virtual environment\npip install -e .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasqal-io%2Fhorqrux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasqal-io%2Fhorqrux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasqal-io%2Fhorqrux/lists"}