Bilinear Quantum
bilinear-quantum 3.0 is a task-oriented TensorFlow/Keras library built around
the Bilinear Quantum Interaction Graph (BQIG). Ordinary users provide data and
an objective; the library handles preprocessing, frozen recipe selection,
optimization, validation, early stopping, and evidence metadata.
Version 3.0.1 is a maintenance release focused on runtime compatibility and
packaging. It does not claim universal model or computational quantum advantage.
Such claims require locked, independent confirmatory benchmarks.
Install
Python 3.12 or 3.13:
python -m pip install bilinear-quantum==3.0.1
The public distribution is a CPython-specific, compiled-only wheel. It does not contain implementation source, private recipes, experiment registries, datasets, checkpoints, or unpublished evidence.
Use without model configuration
import bilinear_quantum as bq
classifier = bq.learn.classify(data, target="label")
predictions = classifier.predict(new_data)
probabilities = classifier.predict_proba(new_data)
forecast = bq.sequence.forecast(
time_series,
target="power",
horizon=24,
)
print(forecast.values)
The public task namespaces are:
bq.learn: classification, regression, embeddings, and clustering;bq.sequence: classification, forecasting, events, segmentation, anomalies;bq.fusion: paired-source learning, alignment, and matching;bq.relation: matching, ranking, retrieval, and recommendation;bq.graph: node, edge, and link prediction;bq.science: surrogates, dynamics, operator discovery, and data-driven solves;bq.quantum: execution brokering, shots, noise, and resources;bq.audit: certification, paired comparison, and evidence export.
Researchers can freeze an explicit protocol without changing the ordinary API:
protocol = bq.research.Protocol(
name="subject-disjoint-confirmatory-v1",
problem="classification",
modality="sequence",
seed=3729,
)
result = bq.research.fit(windows, labels, protocol, groups=subject_ids)
Runtime design
TensorFlow 2.20/Keras 3 is the default training runtime. PennyLane and Cirq are optional quantum execution extras rather than default installation dependencies. TensorFlow Quantum 0.7.6 is kept in an isolated Python 3.12 reference environment because it is not dependency-compatible with the main Python 3.13 runtime. It is never silently emulated.
Scientific safeguards
- preprocessing is fitted on training rows only;
- group/subject and temporal holdouts are first-class split policies;
- recipe selection uses validation data, never confirmatory test data;
- manifests record recipe, split hash, seed, backend, and versions;
- fallback use is explicit and cannot be counted as a BQL win;
- negative and failed benchmark results remain evidence;
- exact BQL/HQBL identities are separated from empirical Deep-BQL claims.
License
Copyright (c) 2026 Nguyen Minh Tuan and Bui Phi Hung. The compiled package is licensed under the accompanying Bilinear Quantum Binary License. It is not an MIT or open-source distribution. Third-party dependencies retain their own licenses.
Metadata
Release files for bilinear-quantum 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bilinear_quantum-3.0.1-cp313-none-any.whl | CPython 3.13 | none | any | Details |
| bilinear_quantum-3.0.1-cp312-none-any.whl | CPython 3.12 | none | any | Details |
Total release size: 295.3 kB
Release files / bilinear_quantum-3.0.1-cp313-none-any.whl
| Download URL | bilinear_quantum-3.0.1-cp313-none-any.whl |
|---|---|
| Size | 148.1 kB |
| Tags | CPython 3.13 |
|
SHA-256 checksum How to use checksums |
57d4c22a0419d01da6369fd42a3ccf20f2774f070aa77628b223ca390be14fea
|
|
BLAKE2b-256 checksum How to use checksums |
7435d55895e46a72a380fc50c7b63668e921258340977821b3f6be166e62b474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 17, 2026.
Transparency logRelease files / bilinear_quantum-3.0.1-cp312-none-any.whl
| Download URL | bilinear_quantum-3.0.1-cp312-none-any.whl |
|---|---|
| Size | 147.2 kB |
| Tags | CPython 3.12 |
|
SHA-256 checksum How to use checksums |
b1b76a44749b8efbf6e01ac3738ff7287df139f358dd5cd69b53d0a6f68a1d93
|
|
BLAKE2b-256 checksum How to use checksums |
ad9d1d6b96db78655a156e4f6fb0be9975caa948abacb3aededbd09938e76c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 17, 2026.
Transparency log