From c8efcb1c6acf4e84278f2e130aebe17d70efa782 Mon Sep 17 00:00:00 2001 From: Umut Date: Mon, 18 Sep 2023 10:31:24 +0200 Subject: [PATCH] docs(frontend-python): update outdated warning in simulation docs --- docs/tutorial/simulation.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/tutorial/simulation.md b/docs/tutorial/simulation.md index 4f6cb857b5..7608ddd47f 100644 --- a/docs/tutorial/simulation.md +++ b/docs/tutorial/simulation.md @@ -32,9 +32,5 @@ After the simulation runs, it prints the following: ``` {% hint style="warning" %} -Currently, simulation is better than directly calling from Python, but it's not exactly the same as FHE execution. This is because it is implemented in Python. - -Imagine you have an identity table lookup. In the FHE code, this may be omitted by the Compiler. In the Python simulation, it would still be present as the optimizations used in the Compiler are not considered. This will result in a bigger error in simulation. - -Some operations are made up of multiple table lookups, and operations of this type cannot be simulated unless their implementation is ported to Python. In the future, simulation functionality will be provided by the Compiler, so all of these issues will be addressed. +There are some operations which are not supported in simulation yet. They will result in compilation failures. You can revert to simulation using graph execution using `circuit.graph(...)` instead of `circuit.simulate(...)`, which won't simulate FHE, but it will evaluate the computation graph, which is like simulating the operations without any errors due to FHE. {% endhint %}