XQP-Munich / LDPC4QKD

Rate adaptive LDPC based solutions for distributed source coding
GNU General Public License v3.0
23 stars 10 forks source link

Is it easy to change these to python? #14

Closed Strive-for-excellence closed 1 year ago

Strive-for-excellence commented 2 years ago

Is it easy to change these to python? I want to use distributed source coding to compress deep learning model parameters.

adomasbaliuka commented 2 years ago

Are you sure the kind of LDPC matrices we are using are what you need? I looked at some publications but I'm not familiar with uses of distributed source coding for deep learning and could not easily see what requirements such applications generally have.

Other than the LDPC matrices themselves, this project does not contain any non-standard algorithms, that (I would expect) you could not get elsewhere with Python bindings available. The encoder provided here is trivial (sparse matrix-vector multiplication) and the decoder is a standard implementation of belief propagation decoding.