Implements exact arithmetic for complex numbers of the form: (a + be^(ipi/4) + ci + de^(-i*pi/4)) * 2^power This representation enables exact computation of phases in ZX-calculus graphs without floating-point errors.Documentation Index
Fetch the complete documentation index at: https://tsim.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
class ExactScalarArray
prod
axis(int) — The axis along which to compute the product.
ExactScalarArray— ExactScalarArray with the product computed along the axis.
sum
axis(int) — The axis along which to sum.
ExactScalarArray— ExactScalarArray with the sum computed along the axis.