qat.qpus.DLinAlg
- class qat.qpus.DLinAlg(*args, plugins: list = None, fusion: bool = True, localize: bool = True, **kwargs)
DLinAlg simulator: start a subprocess calling the DLinAlg executable with the passed options
- Parameters
nb_processes (int, optional) – number of MPI processes
nb_threads (int, optional) – number of threads per MPI process
filename (str, optional) – Set the name of the generated .batch and .res files if passed, else temporary files will be generated
state_vector_dump (str, optional) – Dump the state vector into a binary file with the string as name if passed
single_precision (bool, optional) – if True, the simulation will be done with single precision, else the simulation is done with double precision Default: False
skip_optimize (bool, optional) – if True, no optimization will be done for diagonal, permutation and SWAP operations Default: False
time (bool, optional) – if True, circuit simulation time information will be added for benchmark Default: False
fusion (bool, optional) – if True, compile jobs with FusionPlugin before execution Default: True
localize (bool, optional) – if True, compile jobs with Localizer before execution Default: True
plugins (list<AbstractPlugin>) – plugins to be attached to the QPU instance