Recent Releases of qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices

qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices - v0.2.1

What's Changed

  • Modernize and clean up package setup by @burgholzer in https://github.com/unitaryfoundation/qlass/pull/140
  • Update README.md by @FarLab in https://github.com/unitaryfoundation/qlass/pull/144
  • Add CD workflow for automatic PyPI deployment by @FarLab in https://github.com/unitaryfoundation/qlass/pull/149
  • Type checking by @FarLab in https://github.com/unitaryfoundation/qlass/pull/153
  • add linter to ci by @FarLab in https://github.com/unitaryfoundation/qlass/pull/154
  • add relevant references in the documentation by @FarLab in https://github.com/unitaryfoundation/qlass/pull/164
  • Updating WFT Hamiltonian for Hchain by @Akilan-QC in https://github.com/unitaryfoundation/qlass/pull/163
  • Bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/157
  • Bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/158
  • Bump codecov/codecov-action from 4 to 5 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/159
  • Bump actions/download-artifact from 4 to 6 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/160
  • Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/161
  • add Makefile to verify all example scripts by @FarLab in https://github.com/unitaryfoundation/qlass/pull/165
  • Update installation instructions to use uv instead of pip by @FarLab in https://github.com/unitaryfoundation/qlass/pull/167
  • adding CONTRIBUTING.md for a guide to a PR by @FarLab in https://github.com/unitaryfoundation/qlass/pull/166
  • hfansatz seperated as Bitstringinitialstates and CSFinitial_states by @Akilan-QC in https://github.com/unitaryfoundation/qlass/pull/168
  • Update vqe.py by @Akilan-QC in https://github.com/unitaryfoundation/qlass/pull/169
  • add Piquasso example by @Kolarovszki in https://github.com/unitaryfoundation/qlass/pull/170
  • Statement of need in the introduction by @FarLab in https://github.com/unitaryfoundation/qlass/pull/174

New Contributors

  • @burgholzer made their first contribution in https://github.com/unitaryfoundation/qlass/pull/140
  • @Kolarovszki made their first contribution in https://github.com/unitaryfoundation/qlass/pull/170

Full Changelog: https://github.com/unitaryfoundation/qlass/compare/v0.2.0...v0.2.1

- Python
Published by FarLab 2 months ago

qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices - v0.2.0

In this release, we added many new functionalities and improvements in simulation of VQE's. For example, we added new initial states for ansatzes and ensembe VQE for support of multiple initial states. The simulation of VQE's using photonic unitary executors has been sped up significantly also. In the following, all the changes are listed.

What's Changed

  • docs: add PyPI badge and stable install instructions to README by @FarLab in https://github.com/unitaryfoundation/qlass/pull/107
  • Unitary executors by @FarLab in https://github.com/unitaryfoundation/qlass/pull/114
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/101
  • Update paper.md by @nathanshammah in https://github.com/unitaryfoundation/qlass/pull/120
  • Update paper.bib by @FarLab in https://github.com/unitaryfoundation/qlass/pull/122
  • HF initial states by @Akilan-QC in https://github.com/unitaryfoundation/qlass/pull/117
  • Create .gitignore by @nathanshammah in https://github.com/unitaryfoundation/qlass/pull/119
  • Photonic unitary executor type for VQE simulations by @FarLab in https://github.com/unitaryfoundation/qlass/pull/124
  • Update Hamiltonian.py with Hchain KS hamiltonian by @Akilan-QC in https://github.com/unitaryfoundation/qlass/pull/123
  • Bump qiskit from 2.1.2 to 2.2.1 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/103
  • Update paper.md to shorten it by @FarLab in https://github.com/unitaryfoundation/qlass/pull/126
  • Improve efficiency by @FarLab in https://github.com/unitaryfoundation/qlass/pull/128
  • Ensemble vqe by @Akilan-QC in https://github.com/unitaryfoundation/qlass/pull/125
  • Bump qiskit from 2.2.1 to 2.2.2 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/129
  • Add more DOIs to paper.bib by @nathanshammah in https://github.com/unitaryfoundation/qlass/pull/131
  • update lossfunctionphotonic_unitary by @FarLab in https://github.com/unitaryfoundation/qlass/pull/135
  • Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/unitaryfoundation/qlass/pull/130
  • Update documentation by @FarLab in https://github.com/unitaryfoundation/qlass/pull/136
  • update hardware_config.py and compiler.py by @FarLab in https://github.com/unitaryfoundation/qlass/pull/137

New Contributors

  • @Akilan-QC made their first contribution in https://github.com/unitaryfoundation/qlass/pull/117

Full Changelog: https://github.com/unitaryfoundation/qlass/compare/v0.1.4...v0.2.0

- Python
Published by FarLab 4 months ago

qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices - Version 0.1.4

This release is a minor update to the repository, mainly focussing on some technical improvements:

  • Added Code Coverage workflow
  • Improve tests to maximize code coverage (88% as of the latest version)
  • Added a one page white paper for submission to JOSS

- Python
Published by FarLab 5 months ago

qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices - Version 0.1.3

In this release we have enhanced qlass by adding the following new functionality:

  • We have added a new submodule in the compiler module that aims to characterize particular photonic devices. The HardwareConfig class is a dataclass that contains relevant information for parameters of a physical linear optical circuits that determines their performance.
  • The compiler module has been updated to compute resource requirements and generate a report when compiling a qiskit circuit to a linear optical circuit. This information can be used to decide feasibility of running the circuit. This uses the newly added HardwareConfig class.
  • For implementing noisy simulations of linear optical circuits, mimicking real world usage of photonics, we updated the compile function to allow for compiling to noisy versions of a linear optical circuits given some perceval noise model. This allows us to do noisy simulations of linear optical circuits.

The documentation has been updated to reflect the new additions to qlass.

- Python
Published by FarLab 7 months ago

qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices - Version 0.1.2

This milestone cointains many improvements mostly due to bounties being resolved during the unitartyHACK 2025. Among others, it includes:

  • a new function for implementing a custom unitary ansatz (PR by @Qubit1718)
  • OpenFermion as the standard library for working with Hamiltonians (PR by @Kitsunp)
  • generalizing the loss function to accept more general executors (PR by @Kitsunp)
  • improvements to the tutorial notebook (PR by @Qubit1718)
  • improving efficiency of evaluating Hamiltonains by grouping commuting Pauli terms (PR by @Kitsunp)

- Python
Published by FarLab 9 months ago

qlass: A Python Package for Variational Quantum Algorithms on Photonic Devices - v0.1.1

Version 0.1.1

This is the first public release of qlass. With respect to the alpha release, v0.1.0, this includes a new code structure for the project, it improves the documentation and provides an enhanced VQE module.

- Python
Published by nathanshammah 10 months ago