You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot actually check the output because quilc is non-deterministic, but still need to
@@ -49,7 +49,7 @@ as in the following:
49
49
50
50
...
51
51
52
-
with output
52
+
with output (see note below)
53
53
54
54
.. code:: text
55
55
@@ -67,6 +67,8 @@ with output
67
67
RX(-pi/2) 2
68
68
RZ(pi/2) 2
69
69
70
+
Note that printing ``executable`` here — the result of a ``qc.compile`` call — only results in a readable native Quil program like the above if the Quantum Computer is a QVM. When compiling for live QPU targets, this printed output will be encrypted and opaque because of program translation. See :ref:`Compilation metadata <compilation_metadata>` for instructions on how to convert a program to native gates independent of program translation.
71
+
70
72
The compiler connection is also available directly via the property ``qc.compiler``. The
71
73
precise class of this object changes based on context (e.g., :py:class:`~pyquil.api.QPUCompiler`,
72
74
:py:class:`~pyquil.api.QVMCompiler`), but it always conforms to the interface laid out by :py:class:`~pyquil.api.AbstractCompiler`:
@@ -100,8 +102,8 @@ the previous example snippet is identical to the following:
0 commit comments