Recent Releases of pyqkd

pyqkd - First parallel (hybrid) genetic algorithm

In this realese a first working, though still experimental and under development, parallel genetic algorithm is available. It's a hybrid one, which divides different possible rival Generations between multiple processes to develop and later again divides all Members of these rival Generations between a new batch of parallel process to have their fitness values computed.

Code tested on a simplified case of the endurance function optimisation and surprisingly it works.

What's Changed

  • 39-add-docstrings-to-the-classes-in-genetic_algorithmpy by @gnypit in https://github.com/gnypit/pyqkd/pull/45
  • 20-use-manager-dict-from-multiprocessing-to-store-genome by @gnypit in https://github.com/gnypit/pyqkd/pull/47
  • manager-only-in-genetic-algorithm by @gnypit in https://github.com/gnypit/pyqkd/pull/48

Full Changelog: https://github.com/gnypit/pyqkd/compare/v0.1.0...v0.1.1

- Python
Published by gnypit about 1 year ago

pyqkd - First development version of PyQKD

With minimal functionalities, such as BB84 simulation and an implementation of a genetic algorithm, which correctly solves packaging problem and a maze, I'm creating a first development release, because this code is and will conitnue to be used externally. I want to be able to cite this repo and attract more contributors to develop it into a broad simulation package for physics, chemistry and biology.

Disclaimer: while I am a mathematician and a physicist who codes, I'm new to software development. Thus, please be patient and understanding with any and all irregularities.

What's Changed

  • Pulling current version of window app demonstrator and genetic algorithm for QKD optimisation by @gnypit in https://github.com/gnypit/pyqkd/pull/1
  • Cascade blocks binomial cdf version by @gnypit in https://github.com/gnypit/pyqkd/pull/2
  • Reintegration of optimisation codes with simulation codes by @gnypit in https://github.com/gnypit/pyqkd/pull/3
  • Parallel genetic algorithm - pulling into main by @gnypit in https://github.com/gnypit/pyqkd/pull/10
  • feat: tournament selection by @alguiguilo098 in https://github.com/gnypit/pyqkd/pull/18
  • Issue#19 by @alguiguilo098 in https://github.com/gnypit/pyqkd/pull/21
  • zip crossover selection by @alguiguilo098 in https://github.com/gnypit/pyqkd/pull/28
  • Pulling new structure of classes from chromosomes to the genetic algorithm by @gnypit in https://github.com/gnypit/pyqkd/pull/30
  • Modified the uniform_gene_generator to properly pass all elements from a tuple as args. by @gnypit in https://github.com/gnypit/pyqkd/pull/32

New Contributors

  • @gnypit made their first contribution in https://github.com/gnypit/pyqkd/pull/1
  • @alguiguilo098 made their first contribution in https://github.com/gnypit/pyqkd/pull/18

Full Changelog: https://github.com/gnypit/pyqkd/commits/v0.1.0

- Python
Published by gnypit about 1 year ago