dwave.cloud.solver.QCDLSolver.upload_qcdl#

QCDLSolver.upload_qcdl(qcdl: QCDLLike | BinaryIO) Future[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 – A quantum circuit QCDL, given either as a QCDLLike, 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]