automatic conversion
Automatic Conversion of MiniZinc Programs to QUBO
Obtaining Quadratic Unconstrained Binary Optimisation models for various optimisation problems, in order to solve those on physical quantum computers (such as the the DWave annealers) is nowadays a lengthy and tedious process that requires one to remodel all problem variables as binary variables and squeeze the target function and the constraints into a single quadratic polynomial into these new variables. We report here on the basis of our automatic converter from MiniZinc to QUBO, which is able to process a large set of constraint optimisation and constraint satisfaction problems and turn them into equivalent QUBOs, effectively optimising the whole process.
[P] Repository of efficient scripts for automatic conversion to TFRecords
Hello everyone, I recently noticed that the use of TFRecords isn't as popular as it should be. The efficiency and advantages that it provides, including but not limited to easy integration into TPU pipelines for Tensorflow, led me to creating a repository full of command line scripts to convert data from all popular domains like Audio, Text and Images (with video support coming soon) to TFRecord formats. The scripts also contain support for automatic SQLite and CSV datatype parsing and buffering. Along with this, they support an option for multiprocessing and are made with minimization of memory footprint in mind. If you are interested then please check out the repository here, give it a star if it is helpful and let me know if you have any feedback or suggestion.