qcs_sdk.qpu.translation
class
TranslationOptions:
class
TranslationResult:
The result of a call to [translate
] which provides information about the
translated program.
class
TranslationBackend:
class
QCtrl:
class
TranslationError(builtins.RuntimeError):
Unspecified run-time error.
def
get_quilt_calibrations(quantum_processor_id, client=None, timeout=None):
Query the QCS API for Quil-T calibrations.
If None
, the default timeout
used is 10 seconds.
def
get_quilt_calibrations_async(quantum_processor_id, client=None, timeout=None):
Query the QCS API for Quil-T calibrations.
If None
, the default timeout
used is 10 seconds.
def
translate( native_quil, num_shots, quantum_processor_id, client=None, translation_options=None):
Translates a native Quil program into an executable
Errors
Returns a [TranslationError
] if translation fails.
def
translate_async( native_quil, num_shots, quantum_processor_id, client=None, translation_options=None):
Translates a native Quil program into an executable
Errors
Returns a [TranslationError
] if translation fails.