Bilinear Quantum
bilinear-quantum provides a task-oriented API for Bilinear Quantum models.
The interface abstracts backend selection and numerical execution behind
consistent task constructors.
The package defines a 34-task interface. Provider and hardware integrations are optional components and may evolve independently.
Install
python -m pip install --upgrade bilinear-quantum
Quick start
import bilinear_quantum as blq
model = blq.classify(x_train, y_train)
prediction = model.predict(x_test)
report = model.evaluate(x_test, y_test)
print(report.summary())
Every task constructor accepts data, an optional target, and optional
keyword configuration. A fitted model provides predict, evaluate,
summary, resources, and save.
APIs
| API | Typical use |
|---|---|
classify |
Single-label classification |
regress |
Continuous-value regression |
multilabel |
Multiple labels per sample |
cluster |
Unsupervised clustering |
embed |
Representation learning |
rank |
Ranking and ordered scoring |
retrieve |
Similarity retrieval |
recommend |
Recommendation scoring |
detect_objects |
Object detection |
segment_semantic |
Semantic segmentation |
segment_instances |
Instance segmentation |
estimate_pose |
Pose and keypoint estimation |
track_objects |
Object tracking |
denoise |
Noise reduction |
super_resolve |
Resolution enhancement |
inpaint |
Missing-region reconstruction |
forecast |
Future-value forecasting |
impute |
Missing-value imputation |
detect_anomalies |
Anomaly detection |
detect_events |
Event detection |
sequence_label |
Sequence labelling |
align_sequences |
Sequence alignment |
node_classify |
Graph node classification |
link_predict |
Graph link prediction |
graph_predict |
Graph prediction |
graph_match |
Graph matching |
fuse_modalities |
Multimodal fusion |
generate |
Generation tasks |
density_estimate |
Density estimation |
learn_dynamics |
Dynamical-system learning |
discover_operator |
Operator discovery |
solve_pde |
PDE solution/surrogate tasks |
optimize |
Optimization tasks |
learn_quantum_process |
Quantum-process learning |
For unsupervised tasks, omit the target:
clusters = blq.cluster(x_train)
cluster_ids = clusters.predict(x_test)
Backend selection
with blq.runtime.use("aer", shots=128):
model = blq.classify(x_train, y_train)
Optional provider dependencies:
python -m pip install "bilinear-quantum[sim]" # Qiskit/Aer
python -m pip install "bilinear-quantum[ibm]" # IBM Runtime
python -m pip install "bilinear-quantum[qi]" # Quantum Inspire
Hardware execution is outside the scope of this release. Provider selection does not change the task-level API.
Colab
!python -m pip install -U bilinear-quantum
import bilinear_quantum as blq
print(blq.__version__)
Use a fresh runtime and identical preprocessing when comparing baselines.
Scope and reproducibility
Algorithmic details, benchmark protocols, and validation artifacts should be identified by the exact package version and corresponding release record when results are reported. See LICENSE for distribution terms; third-party dependencies retain their own licenses.
Metadata
Release files for bilinear-quantum 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bilinear_quantum-4.0.0-py3-none-any.whl | Python 3 | none | any | Details for bilinear_quantum-4.0.0-py3-none-any.whl |
Release files / bilinear_quantum-4.0.0-py3-none-any.whl
| Download URL | bilinear_quantum-4.0.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98fa16d23b3378d2992376d63bef7985c34457c124e0de8c1de0a8af943d8076
|
|
BLAKE2b-256 checksum How to use checksums |
4219ef92c4f8fb269b8611480126daac769f62d5d34d81ee36833486941ae7c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logSecurity for bilinear-quantum 4.0.0
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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for bilinear_quantum-4.0.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logA 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.