Fix bug in circuit deserialisation
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.