Tags: Jim137/qkan
Tags
QKAN Core Upgrade with dtype Management, Usability Enhancements, and … …Expanded Dependencies (#4) * add DOI badge * Optimize tensor operations and reduce memory allocations in QKAN (#3) * Initial plan * Optimize performance: remove unnecessary clones, fix redundant zero_grad, and improve tensor operations Co-authored-by: Jim137 <[email protected]> * Additional optimizations: improve h_gate computation and reuse sum computations in regularization Co-authored-by: Jim137 <[email protected]> * Address code review feedback: fix dtype parameter and use named constant Co-authored-by: Jim137 <[email protected]> * Fix dtype consistency across all DQStateVector gate operations Co-authored-by: Jim137 <[email protected]> * Improve numerical precision and add dtype validation for tensor operations Co-authored-by: Jim137 <[email protected]> * fix requirements-dev * fix group when preact trainable * fix lint * fix mypy check --------- Co-authored-by: J.-C. Jiang <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Jim137 <[email protected]> * add info function * add x gate * add fast measure attr to mx, my * update pyproject.toml * fix x gate * add z gate * add dtype attr * fix convention of subfunctions in exact solver * refactor: update print0 function to accept multiple arguments and improve formatting * fix correct dtype argument in reset_parameters method * fix lint in torch_qc * docs: update module docstring to clarify source and purpose in info.py * update docs * bump version to 0.1.3 * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> * fix: allow shorthand for ansatz types in QKANLayer and torch_exact_solver * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> * fix logic error for verbose --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]>