Qelm V-0.1.4 Release #12
Inserian
announced in
Announcements
Replies: 2 comments
-
Also, if you want to change the critical aspect of qubit spin optimization which I moronically never wrote into the gui (trust me, tkinkter is a buzzkill). Alter the optimization level -
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Figured out some new methods for encode and decode using my built in cubit, using this method I have been able to shave 85% training time per gradient in the newest model. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Qelm upgrades, changes and tweaks.
I have been thoroughly testing each section broken apart into small single units by creating testing applications for each section. The following upgrades will be in the newest version releasing in the next week.
If you would like to see any additions, tweaks or upgrades, feel free to submit discussions or projects to us.
1. GUI Initialization & Thread Safety
Theme fallback
prevents
sys.exit()
on missing theme.Main‑thread UI updates
All calls to
messagebox
or widget state changes from background threads now use:2. Reusable Qubit Pool & Reset Loop
QuantumChannelManager
QuantumChannel
objects.allocate_channels(n)
/release_channels(list)
replaces ad‑hocQuantumCircuit(...)
recreation.Proper mid‑circuit measure + reset
ensures each physical qubit is recycled slice‑to‑slice without cloning.
3. Sub‑Bit Encoding/Decoding
New methods on
QuantumChannel
:qc.use_subbit
flagtoggles between standard amplitude encoding and θ/φ “phase‑band” sub‑bit mode.
4. Grover Search Fully Implemented
GroverOracle
,GroverDiffuser
,GroverSearch
classes no longer stubs—now produce real amplitude amplification and return counts via.run()
.5. Basic Error‑Mitigation Hook
entropy_factor
on each channel applies tiny random Ry rotations for Pauli‑twirling.6. Modular Quantum Layers
Consolidated simulator selection in
QuantumLayerBase.initialize_simulator()
.Split old monolithic attention/FFN into:
QuantumAttentionLayer
QuantumFeedForwardLayer
each with
build_simple_circuit()
/build_advanced_circuit()
.7. Parallel Parameter‑Shift Gradients
compute_gradients_parallel()
usesProcessPoolExecutor
for full‑vector gradient evaluation.progress_callback
feeding the GUI’s gradient bar.8. Data & Tokenization Pipeline
ExponentialSubwordTokenizer
unchanged but now seamlessly feeds into the new channel‑pool loop.9. Logging & Resource Monitoring
10. Serialization & Versioning (I'm testing this to see if it will be more reliable for good models, it can currently cause issues with old models.)
"version": "4.0"
to all saved JSON models for compatibility checks.save_model_and_tokens()
/load_model_and_tokens()
, with strict size verification.If you continue to experience issues with error mitigation, or auto close please go to the start a new issue section or respond here.
Beta Was this translation helpful? Give feedback.
All reactions