scqubits.io_utils.fileio

Helper routines for writing data to files.

Functions

deserialize(iodata)

Turn IOData back into a Python object of the appropriate kind.

read(filename[, file_handle])

Read a Serializable object from file.

serialize(the_object)

Turn the given Python object into an IOData object, needed for writing data to file.

write(the_object, filename[, file_handle])

Write the_object to a file with name filename.

Classes

FileIOFactory()

Factory method for choosing reader/writer according to given format

IOData(typename, attributes, ndarrays[, objects])

Class for processing input/output data