bqskit


Namebqskit JSON
Version 1.1.2 PyPI version JSON
download
home_pagehttps://github.com/BQSKit/bqskit
SummaryBerkeley Quantum Synthesis Toolkit
upload_time2024-04-15 14:42:25
maintainerNone
docs_urlNone
authorLBNL - BQSKit developers
requires_python<4,>=3.8
licenseBSD 3-Clause License
keywords berkeley quantum synthesis toolkit partitioning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Berkeley Quantum Synthesis Toolkit (BQSKit)

The Berkeley Quantum Synthesis Toolkit (BQSKit) \[bis • kit\] is a powerful
and portable quantum compiler framework. It can be used with ease to compile
quantum programs to efficient physical circuits for any QPU.

## Installation

BQSKit is available for Python 3.8+ on Linux, macOS, and Windows. BQSKit
and its dependencies are listed on the [Python Package Index](https://pypi.org),
and as such, pip can easily install it:

```sh
pip install bqskit
```

## Basic Usage

A standard BQSKit workflow loads a program into the framework, models the
target QPU, compiles the program, and exports the resulting circuit. The
below example uses BQSKit to optimize an input circuit provided by a qasm
file:

```python
from bqskit import compile, Circuit

# Load a circuit from QASM
circuit = Circuit.from_file("input.qasm")

# Compile the circuit
compiled_circuit = compile(circuit)

# Save output as QASM
compiled_circuit.save("output.qasm")
```

To learn more about BQSKit, follow the
[tutorial series](https://github.com/BQSKit/bqskit-tutorial/) or refer to
the [documentation](https://bqskit.readthedocs.io/en/latest/).

## How to Cite

You can use the [software disclosure](https://www.osti.gov/biblio/1785933)
to cite the BQSKit package.

Additionally, if you used or extended a specific algorithm, you should cite
that individually. BQSKit passes will include a relevant reference in
their documentation.

## License

The software in this repository is licensed under a **BSD free software
license** and can be used in source or binary form for any purpose as long
as the simple licensing requirements are followed. See the
**[LICENSE](https://github.com/BQSKit/bqskit/blob/master/LICENSE)** file
for more information.

## Copyright

Berkeley Quantum Synthesis Toolkit (BQSKit) Copyright (c) 2021,
The Regents of the University of California, through Lawrence
Berkeley National Laboratory (subject to receipt of any required
approvals from the U.S. Dept. of Energy) and Massachusetts
Institute of Technology (MIT).  All rights reserved.

If you have questions about your rights to use or distribute this software,
please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.

NOTICE.  This Software was developed under funding from the U.S. Department
of Energy and the U.S. Government consequently retains certain rights.  As
such, the U.S. Government has been granted for itself and others acting on
its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the
Software to reproduce, distribute copies to the public, prepare derivative
works, and perform publicly and display publicly, and to permit others to
do so.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/BQSKit/bqskit",
    "name": "bqskit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "berkeley, quantum, synthesis, toolkit, partitioning",
    "author": "LBNL - BQSKit developers",
    "author_email": "edyounis@lbl.gov",
    "download_url": "https://files.pythonhosted.org/packages/31/40/dc3ed025d35f0c97a2299298d00596f4eded90db99f2ff479ddb6615c4f2/bqskit-1.1.2.tar.gz",
    "platform": null,
    "description": "# Berkeley Quantum Synthesis Toolkit (BQSKit)\n\nThe Berkeley Quantum Synthesis Toolkit (BQSKit) \\[bis \u2022 kit\\] is a powerful\nand portable quantum compiler framework. It can be used with ease to compile\nquantum programs to efficient physical circuits for any QPU.\n\n## Installation\n\nBQSKit is available for Python 3.8+ on Linux, macOS, and Windows. BQSKit\nand its dependencies are listed on the [Python Package Index](https://pypi.org),\nand as such, pip can easily install it:\n\n```sh\npip install bqskit\n```\n\n## Basic Usage\n\nA standard BQSKit workflow loads a program into the framework, models the\ntarget QPU, compiles the program, and exports the resulting circuit. The\nbelow example uses BQSKit to optimize an input circuit provided by a qasm\nfile:\n\n```python\nfrom bqskit import compile, Circuit\n\n# Load a circuit from QASM\ncircuit = Circuit.from_file(\"input.qasm\")\n\n# Compile the circuit\ncompiled_circuit = compile(circuit)\n\n# Save output as QASM\ncompiled_circuit.save(\"output.qasm\")\n```\n\nTo learn more about BQSKit, follow the\n[tutorial series](https://github.com/BQSKit/bqskit-tutorial/) or refer to\nthe [documentation](https://bqskit.readthedocs.io/en/latest/).\n\n## How to Cite\n\nYou can use the [software disclosure](https://www.osti.gov/biblio/1785933)\nto cite the BQSKit package.\n\nAdditionally, if you used or extended a specific algorithm, you should cite\nthat individually. BQSKit passes will include a relevant reference in\ntheir documentation.\n\n## License\n\nThe software in this repository is licensed under a **BSD free software\nlicense** and can be used in source or binary form for any purpose as long\nas the simple licensing requirements are followed. See the\n**[LICENSE](https://github.com/BQSKit/bqskit/blob/master/LICENSE)** file\nfor more information.\n\n## Copyright\n\nBerkeley Quantum Synthesis Toolkit (BQSKit) Copyright (c) 2021,\nThe Regents of the University of California, through Lawrence\nBerkeley National Laboratory (subject to receipt of any required\napprovals from the U.S. Dept. of Energy) and Massachusetts\nInstitute of Technology (MIT).  All rights reserved.\n\nIf you have questions about your rights to use or distribute this software,\nplease contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.\n\nNOTICE.  This Software was developed under funding from the U.S. Department\nof Energy and the U.S. Government consequently retains certain rights.  As\nsuch, the U.S. Government has been granted for itself and others acting on\nits behalf a paid-up, nonexclusive, irrevocable, worldwide license in the\nSoftware to reproduce, distribute copies to the public, prepare derivative\nworks, and perform publicly and display publicly, and to permit others to\ndo so.\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Berkeley Quantum Synthesis Toolkit",
    "version": "1.1.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/BQSKit/bqskit/issues",
        "Documentation": "https://bqskit.readthedocs.io/en/latest",
        "Homepage": "https://github.com/BQSKit/bqskit",
        "Source Code": "https://github.com/BQSKit/bqskit"
    },
    "split_keywords": [
        "berkeley",
        " quantum",
        " synthesis",
        " toolkit",
        " partitioning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "38eb193e2c04d9f5ebc97fef45ae829dc42ac8399693d42e24db816ff076e992",
                "md5": "f4d32c77323b8881171d6c14f0e71f90",
                "sha256": "2db92835d39d2f84a3891b6b9a1ca225470d7212a9241b7b1165d06383f97138"
            },
            "downloads": -1,
            "filename": "bqskit-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f4d32c77323b8881171d6c14f0e71f90",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 392167,
            "upload_time": "2024-04-15T14:42:24",
            "upload_time_iso_8601": "2024-04-15T14:42:24.180319Z",
            "url": "https://files.pythonhosted.org/packages/38/eb/193e2c04d9f5ebc97fef45ae829dc42ac8399693d42e24db816ff076e992/bqskit-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3140dc3ed025d35f0c97a2299298d00596f4eded90db99f2ff479ddb6615c4f2",
                "md5": "5cfbe3cf35b3eb69d3c23bce38ed5b2f",
                "sha256": "df17a7b7b0093d2901df029be84727e383d25197567385050864774f8052f9d1"
            },
            "downloads": -1,
            "filename": "bqskit-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "5cfbe3cf35b3eb69d3c23bce38ed5b2f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 246509,
            "upload_time": "2024-04-15T14:42:25",
            "upload_time_iso_8601": "2024-04-15T14:42:25.841921Z",
            "url": "https://files.pythonhosted.org/packages/31/40/dc3ed025d35f0c97a2299298d00596f4eded90db99f2ff479ddb6615c4f2/bqskit-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 14:42:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BQSKit",
    "github_project": "bqskit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bqskit"
}
        
Elapsed time: 0.24003s