dwave.cloud.solver.QCDLSolver.upload_qcdl#

QCDLSolver.upload_qcdl(qcdl)[source]#

Upload the specified QCDL circuit to SAPI, returning a Problem ID that can be used to submit the circuit to this solver.

Parameters:

qcdl (dict/bytes-like/file-like) – A quantum circuit QCDL dict, given either as a dict, or as raw data (encoded serialized circuit) in either a file-like or a bytes-like object.

Returns:

Problem ID in a Future. Problem ID can be used to submit problems by reference.

Return type:

concurrent.futures.Future[str]