cunqa.qutils.qraise

cunqa.qutils.qraise(n, time, *, simulator=None, fakeqmio=False, family=None, cloud=True, cores=None, mem_per_qpu=None, n_nodes=None, node_list=None, qpus_per_node=None, backend=None) tuple | str

Raises a QPU and returns its job_id.

Args

n (int): number of QPUs to be raised. time (str, format: ‘D-HH:MM:SS’): maximun time that the classical resources will be reserved for the QPU.

fakeqmio (bool): if True the raised QPUs will have the fakeqmio backend. classical_comm (bool): if True the raised QPUs are communicated classically. quantum_comm (bool): if True the raised QPUs have quantum communications. simulator (str): name of the desired simulator to use. Default in this branch is Cunqasimulator. family (str): name to identify the group of QPUs raised on the specific call of the function. mode (str): infrastructure type for the raised QPUs: “hpc” or “cloud”. First one associates QPUs to different nodes. cores (str): number of cores for the SLURM job. mem_per_qpu (str): memory to allocate for each QPU, format to use is “xG”. n_nodes (str): number of nodes for the SLURM job. node_list (str): option to select specifically on which nodes the simulation job should run. qpus_per_node (str): sets the number of QPUs that should be raised on each requested node. backend (str): path to a file containing backend information.