We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58f5beb commit 0f82f29Copy full SHA for 0f82f29
crates/python/qcs_sdk/grpc/models/translation.pyi
crates/python/qcs_sdk/qpu/translation.pyi
@@ -128,3 +128,18 @@ async def translate_async(
128
:raises TranslationError: If the `native_quil` program could not be translated.
129
"""
130
...
131
+
132
+class TranslationOptions:
133
+ """
134
+ Options for translating via the QCS API.
135
136
137
+ def use_backend_v1(self) -> None:
138
139
+ Use the v1 backend for translation, available on QCS since 2018.
140
141
142
+ def use_backend_v2(self) -> None:
143
144
+ Use the v2 backend for translation, available on QCS since 2023.
145
0 commit comments