pdft.circuit.apply_circuit

Contents

pdft.circuit.apply_circuit#

pdft.circuit.apply_circuit(tensors, code, m, n, pic)[source]#

Apply code to one (2**m, 2**n) image, in double precision.

contract_circuit behind a shape check and a cast of the image to complex128. Julia’s ft_mat and ift_mat: the inverse is the same call with the inverse code and conjugated tensors.

Parameters:
Return type:

Array