Files
concrete/frontends/concrete-python/docs/tutorial/formatting.md
2023-03-08 11:23:21 +01:00

537 B

Formatting

You can convert your compiled circuit into its textual representation by converting it to string:

str(circuit)

If you just want to see the output on your terminal, you can directly print it as well:

print(circuit)

{% hint style="warning" %} Formatting is just for debugging. It's not possible to serialize the circuit back from its textual representation. See How to Deploy if that's your goal. {% endhint %}