geqo
geqo is a framework for constructing and describing quantum circuits and executing them on simulators and on quantum hardware devices.
The documentation can be found here.
Quick installation and testing
- clone the repository:
git clone https://github.com/JoSQUANTUM/geqo - create a virtual environment:
python -m venv geqo-env - enable environment:
source geqo-env/bin/activate - install geqo with all options:
pip install geqo/[sympy,numpy,cupy,visualization,dev] - optional: run unit tests:
python -m pytest geqo/tests/
geqo is also available on PyPI. To install from PyPI just create
and activate an environment with steps 2 and 3 and then install geqo with
pip install geqo[sympy,numpy,cupy,visualization,dev].
Running a simple example
- the example task is to get unitary of a quantum circuit for the EPR pair generation
- start Python in the environment from the steps above
- run the following commands:
from geqo.gates import Hadamard, CNOT
from geqo.core import Sequence
seq=Sequence(["q1","q2"],[], [ (Hadamard(),["q1"], []), (CNOT(), ["q1","q2"], []) ])
from geqo.simulators import simulatorUnitarySymPy
sim=simulatorUnitarySymPy(2)
sim.apply(seq,[0,1])
sim.u
The expected result is
Matrix([
[sqrt(2)/2, 0, sqrt(2)/2, 0],
[ 0, sqrt(2)/2, 0, sqrt(2)/2],
[ 0, sqrt(2)/2, 0, -sqrt(2)/2],
[sqrt(2)/2, 0, -sqrt(2)/2, 0]])
Metadata
Release files for geqo 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geqo-0.1.2.tar.gz | 3.0 MB | Without provenance | Details for geqo-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geqo-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for geqo-0.1.2-py3-none-any.whl |
Total release size: 3.1 MB
Release files / geqo-0.1.2.tar.gz
| Download URL | geqo-0.1.2.tar.gz |
|---|---|
| Size | 3.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41270f361e981fd21c0598bd85218aaa59e92ae81d14851c8631357df60e1901
|
|
BLAKE2b-256 checksum How to use checksums |
ef1e546d130bfb7487ef8bb1e49ccaf06a507d0cadec653cbcff2cf999ea8195
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.12
|
Release files / geqo-0.1.2-py3-none-any.whl
| Download URL | geqo-0.1.2-py3-none-any.whl |
|---|---|
| Size | 97.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57483ba02e936884adf114221a0077874b69d63a193b67bddafbedbcf094bf0a
|
|
BLAKE2b-256 checksum How to use checksums |
8aeca693ffe020038836462612be5298621b46ba7524cf5bc00ae59c0e6aa97d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.12
|
Security for geqo 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.