quantum-loop


Namequantum-loop JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryA set of tools for quantum calculations.
upload_time2025-09-09 07:45:02
maintainerNone
docs_urlNone
authorNone
requires_python<4.0,>=3.12
licenseNone
keywords loop quantum quantum-loop qubit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <p align="center">
    <a href="https://github.com/kebasyaty/quantum-loop">
      <img
        height="90"
        alt="Logo"
        src="https://raw.githubusercontent.com/kebasyaty/quantum-loop/main/assets/logo.svg">
    </a>
  </p>
  <p>
    <h1>quantum loop</h1>
    <h3>A set of tools for quantum calculations.</h3>
    <p align="center">
      <a href="https://github.com/kebasyaty/quantum-loop/actions/workflows/test.yml" alt="Build Status"><img src="https://github.com/kebasyaty/quantum-loop/actions/workflows/test.yml/badge.svg" alt="Build Status"></a>
      <a href="https://kebasyaty.github.io/quantum-loop/" alt="Docs"><img src="https://img.shields.io/badge/docs-available-brightgreen.svg" alt="Docs"></a>
      <a href="https://pypi.python.org/pypi/quantum-loop/" alt="PyPI pyversions"><img src="https://img.shields.io/pypi/pyversions/quantum-loop.svg" alt="PyPI pyversions"></a>
      <a href="https://pypi.python.org/pypi/quantum-loop/" alt="PyPI status"><img src="https://img.shields.io/pypi/status/quantum-loop.svg" alt="PyPI status"></a>
      <a href="https://pypi.python.org/pypi/quantum-loop/" alt="PyPI version fury.io"><img src="https://badge.fury.io/py/quantum-loop.svg" alt="PyPI version fury.io"></a>
      <br>
      <a href="https://github.com/kebasyaty/quantum-loop/issues"><img src="https://img.shields.io/github/issues/kebasyaty/quantum-loop.svg" alt="GitHub issues"></a>
      <a href="https://pepy.tech/projects/quantum-loop"><img src="https://static.pepy.tech/badge/quantum-loop" alt="PyPI Downloads"></a>
      <a href="https://github.com/kebasyaty/quantum-loop/blob/main/LICENSE" alt="GitHub license"><img src="https://img.shields.io/github/license/kebasyaty/quantum-loop" alt="GitHub license"></a>
      <a href="https://mypy-lang.org/" alt="Types: Mypy"><img src="https://img.shields.io/badge/types-Mypy-202235.svg?color=0c7ebf" alt="Types: Mypy"></a>
      <a href="https://docs.astral.sh/ruff/" alt="Code style: Ruff"><img src="https://img.shields.io/badge/code%20style-Ruff-FDD835.svg" alt="Code style: Ruff"></a>
      <a href="https://github.com/kebasyaty/quantum-loop" alt="PyPI implementation"><img src="https://img.shields.io/pypi/implementation/quantum-loop" alt="PyPI implementation"></a>
      <br>
      <a href="https://pypi.org/project/quantum-loop"><img src="https://img.shields.io/pypi/format/quantum-loop" alt="Format"></a>
      <a href="https://github.com/kebasyaty/quantum-loop"><img src="https://img.shields.io/github/languages/top/kebasyaty/quantum-loop" alt="Top"></a>
      <a href="https://github.com/kebasyaty/quantum-loop"><img src="https://img.shields.io/github/repo-size/kebasyaty/quantum-loop" alt="Size"></a>
      <a href="https://github.com/kebasyaty/quantum-loop"><img src="https://img.shields.io/github/last-commit/kebasyaty/quantum-loop/main" alt="Last commit"></a>
      <a href="https://github.com/kebasyaty/quantum-loop/releases/" alt="GitHub release"><img src="https://img.shields.io/github/release/kebasyaty/quantum-loop" alt="GitHub release"></a>
    </p>
    <p align="center">
      A Qubit in a regular computer is quantum of algorithm that is executed in
      <br>
      one iteration of a cycle in a separate processor thread.
      <br>
      Quantum is a function with an algorithm of task for data processing.
      <br>
      In this case, the Qubit is not a single information,
      <br>
      but it is a concept of the principle of operation of quantum calculations on a regular computer.
    </p>
  </p>
</div>

##

<br>

## Documentation

Online browsable documentation is available at [https://kebasyaty.github.io/quantum-loop/](https://kebasyaty.github.io/quantum-loop/ "Documentation").

## Requirements

[View the list of requirements](https://github.com/kebasyaty/quantum-loop/blob/v0/REQUIREMENTS.md "Requirements").

## Installation

```shell
uv add quantum-loop
```

## Usage

```python
from ql import LoopMode, QuantumLoop, count_qubits

# Counting the number of conceptual qubits of your computer.
num = count_qubits()
print(num)  # => 16

def task(item):
    """Quantum."""
    return item * item

data = range(10)

# Separation of the cycle into quantum algorithms for
# multiprocessing data processing.
results = QuantumLoop(task, data).run()
print(results)  # => [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
```

## Changelog

[View the change history](https://github.com/kebasyaty/quantum-loop/blob/v0/CHANGELOG.md "Changelog").

## License

This project is licensed under the [MIT](https://github.com/kebasyaty/quantum-loop/blob/main/LICENSE "MIT").

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "quantum-loop",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": "loop, quantum, quantum-loop, qubit",
    "author": null,
    "author_email": "kebasyaty <kebasyaty@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "<div align=\"center\">\n  <p align=\"center\">\n    <a href=\"https://github.com/kebasyaty/quantum-loop\">\n      <img\n        height=\"90\"\n        alt=\"Logo\"\n        src=\"https://raw.githubusercontent.com/kebasyaty/quantum-loop/main/assets/logo.svg\">\n    </a>\n  </p>\n  <p>\n    <h1>quantum loop</h1>\n    <h3>A set of tools for quantum calculations.</h3>\n    <p align=\"center\">\n      <a href=\"https://github.com/kebasyaty/quantum-loop/actions/workflows/test.yml\" alt=\"Build Status\"><img src=\"https://github.com/kebasyaty/quantum-loop/actions/workflows/test.yml/badge.svg\" alt=\"Build Status\"></a>\n      <a href=\"https://kebasyaty.github.io/quantum-loop/\" alt=\"Docs\"><img src=\"https://img.shields.io/badge/docs-available-brightgreen.svg\" alt=\"Docs\"></a>\n      <a href=\"https://pypi.python.org/pypi/quantum-loop/\" alt=\"PyPI pyversions\"><img src=\"https://img.shields.io/pypi/pyversions/quantum-loop.svg\" alt=\"PyPI pyversions\"></a>\n      <a href=\"https://pypi.python.org/pypi/quantum-loop/\" alt=\"PyPI status\"><img src=\"https://img.shields.io/pypi/status/quantum-loop.svg\" alt=\"PyPI status\"></a>\n      <a href=\"https://pypi.python.org/pypi/quantum-loop/\" alt=\"PyPI version fury.io\"><img src=\"https://badge.fury.io/py/quantum-loop.svg\" alt=\"PyPI version fury.io\"></a>\n      <br>\n      <a href=\"https://github.com/kebasyaty/quantum-loop/issues\"><img src=\"https://img.shields.io/github/issues/kebasyaty/quantum-loop.svg\" alt=\"GitHub issues\"></a>\n      <a href=\"https://pepy.tech/projects/quantum-loop\"><img src=\"https://static.pepy.tech/badge/quantum-loop\" alt=\"PyPI Downloads\"></a>\n      <a href=\"https://github.com/kebasyaty/quantum-loop/blob/main/LICENSE\" alt=\"GitHub license\"><img src=\"https://img.shields.io/github/license/kebasyaty/quantum-loop\" alt=\"GitHub license\"></a>\n      <a href=\"https://mypy-lang.org/\" alt=\"Types: Mypy\"><img src=\"https://img.shields.io/badge/types-Mypy-202235.svg?color=0c7ebf\" alt=\"Types: Mypy\"></a>\n      <a href=\"https://docs.astral.sh/ruff/\" alt=\"Code style: Ruff\"><img src=\"https://img.shields.io/badge/code%20style-Ruff-FDD835.svg\" alt=\"Code style: Ruff\"></a>\n      <a href=\"https://github.com/kebasyaty/quantum-loop\" alt=\"PyPI implementation\"><img src=\"https://img.shields.io/pypi/implementation/quantum-loop\" alt=\"PyPI implementation\"></a>\n      <br>\n      <a href=\"https://pypi.org/project/quantum-loop\"><img src=\"https://img.shields.io/pypi/format/quantum-loop\" alt=\"Format\"></a>\n      <a href=\"https://github.com/kebasyaty/quantum-loop\"><img src=\"https://img.shields.io/github/languages/top/kebasyaty/quantum-loop\" alt=\"Top\"></a>\n      <a href=\"https://github.com/kebasyaty/quantum-loop\"><img src=\"https://img.shields.io/github/repo-size/kebasyaty/quantum-loop\" alt=\"Size\"></a>\n      <a href=\"https://github.com/kebasyaty/quantum-loop\"><img src=\"https://img.shields.io/github/last-commit/kebasyaty/quantum-loop/main\" alt=\"Last commit\"></a>\n      <a href=\"https://github.com/kebasyaty/quantum-loop/releases/\" alt=\"GitHub release\"><img src=\"https://img.shields.io/github/release/kebasyaty/quantum-loop\" alt=\"GitHub release\"></a>\n    </p>\n    <p align=\"center\">\n      A Qubit in a regular computer is quantum of algorithm that is executed in\n      <br>\n      one iteration of a cycle in a separate processor thread.\n      <br>\n      Quantum is a function with an algorithm of task for data processing.\n      <br>\n      In this case, the Qubit is not a single information,\n      <br>\n      but it is a concept of the principle of operation of quantum calculations on a regular computer.\n    </p>\n  </p>\n</div>\n\n##\n\n<br>\n\n## Documentation\n\nOnline browsable documentation is available at [https://kebasyaty.github.io/quantum-loop/](https://kebasyaty.github.io/quantum-loop/ \"Documentation\").\n\n## Requirements\n\n[View the list of requirements](https://github.com/kebasyaty/quantum-loop/blob/v0/REQUIREMENTS.md \"Requirements\").\n\n## Installation\n\n```shell\nuv add quantum-loop\n```\n\n## Usage\n\n```python\nfrom ql import LoopMode, QuantumLoop, count_qubits\n\n# Counting the number of conceptual qubits of your computer.\nnum = count_qubits()\nprint(num)  # => 16\n\ndef task(item):\n    \"\"\"Quantum.\"\"\"\n    return item * item\n\ndata = range(10)\n\n# Separation of the cycle into quantum algorithms for\n# multiprocessing data processing.\nresults = QuantumLoop(task, data).run()\nprint(results)  # => [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]\n```\n\n## Changelog\n\n[View the change history](https://github.com/kebasyaty/quantum-loop/blob/v0/CHANGELOG.md \"Changelog\").\n\n## License\n\nThis project is licensed under the [MIT](https://github.com/kebasyaty/quantum-loop/blob/main/LICENSE \"MIT\").\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A set of tools for quantum calculations.",
    "version": "0.2.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/kebasyaty/quantum-loop/issues",
        "Changelog": "https://github.com/kebasyaty/quantum-loop/blob/v0/CHANGELOG.md",
        "Homepage": "https://github.com/kebasyaty/quantum-loop",
        "Repository": "https://github.com/kebasyaty/quantum-loop",
        "Source": "https://github.com/kebasyaty/quantum-loop"
    },
    "split_keywords": [
        "loop",
        " quantum",
        " quantum-loop",
        " qubit"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "eb5d99f6c47b91922b4a7d6587446235cdad81262246104262aa5e61f412e03a",
                "md5": "36aced5c48e6700f235f145bc3d12d70",
                "sha256": "dc7b51f70ee7f6cb8365c54d7ea6d987a605b83f96d83cebf39ae8ad3a7354ff"
            },
            "downloads": -1,
            "filename": "quantum_loop-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36aced5c48e6700f235f145bc3d12d70",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 5857,
            "upload_time": "2025-09-09T07:45:02",
            "upload_time_iso_8601": "2025-09-09T07:45:02.053957Z",
            "url": "https://files.pythonhosted.org/packages/eb/5d/99f6c47b91922b4a7d6587446235cdad81262246104262aa5e61f412e03a/quantum_loop-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-09 07:45:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kebasyaty",
    "github_project": "quantum-loop",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "quantum-loop"
}
        
Elapsed time: 4.21071s