Application library framework of DLR QCI Connect quantum computing platform.
Project description
QCI Connect Application Library Framework (ALF)
This is a python framework for the application libraries of the QCI Connect platform of the German Aerospace Center (DLR).
Basic Idea
Algorithms are the central objects of the ALF.
They consume a ProblemInput and return a Result.
Internally, they describe quantum programs using Circuits.
Circuit builder objects aid in the construction of Circuits.
Algorithms can compute bitstrings on Circuits by submitting them to a Sampler,
which returns a Measurement object containing a histogram of the measured bitstrings.
Algorithms can also compute ExpectationValues of Observables for a given Circuit
in terms of their MeasurementBasis.
They can create an EstimationJob that wraps the necessary information and send it to an Estimator.
Finally, the estimator internally calls its Sampler and returns an Estimations object containing the estimated ExpectationValues.
Installation Instructions
To install the requirements for this package, we recommend using ultraviolet (installation guide). All dependencies can be installed to a virtual environment via
git submodule update --init
uv sync
Before using ALF, we need to activate the virtual environment. Here's how its done on different operating systems. Note the different activation instructions for other shells.
Linux and MacOs
Open a bash shell and run
source .venv/bin/activate
Windows
Open the powershell and run
.venv/Scripts/activate
Check if the installation was successful
You can quickly test if the installation succeeded by running the following lines in a python interpreter after activating the virtual environment
from qciconnect.alf.base import PauliString
pauli = PauliString({2: "X", 5:"Y"})
print(pauli) # should return X2Y5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qciconnect_alf-0.2.0.tar.gz.
File metadata
- Download URL: qciconnect_alf-0.2.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ea959001ae4269736f35387690f31f51b9afafea2f76e2d8c856d274c743755
|
|
| MD5 |
5d31a1f73cb038c5ad5cd78bff0da091
|
|
| BLAKE2b-256 |
1e6ae3635e38340fe2c38e45168ed3650d93a41c87af6e9c812dec8e84efc95c
|
File details
Details for the file qciconnect_alf-0.2.0-py3-none-any.whl.
File metadata
- Download URL: qciconnect_alf-0.2.0-py3-none-any.whl
- Upload date:
- Size: 71.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bbf2f74a6fc0b817f2f40df670dbb686a2aa9c0bff5b79eb620f1f9e7003b28
|
|
| MD5 |
172413cbb6e7291f720827f5f6c39e8a
|
|
| BLAKE2b-256 |
b00a0edf09359b88dd44a8b26ffffd04c9eaa5ec959d440381dd8dcbd71aaac6
|