Skip to content

Fix bug in circuit deserialisation

Gabriel Gallardo requested to merge fix_deserialise_circuit into dev

Using numpy.fromfile() rather than with open(file) as infile: numpy.frombuffer(infile.readline()).

We delegate to numpy to do all the deserialisation. It avoids errors like if the binary code happens to spell out \n and not the full program can be read out.

Merge request reports