tensorcircuit.zx.simplifier¶
ZX graph simplification wrapper.
- tensorcircuit.zx.simplifier.full_reduce(g: Any, param_safe: bool = True) None[source]¶
Apply PyZX full_reduce to the graph.
- Parameters:
g (Any) – The ZX graph.
param_safe (bool, optional) – Whether to use parameter-safe simplification, defaults to True.