Documentation

CslibFrontier.Computability.Circuit.Quantum.PathNetworkPolyTime

The network of a circuit in polynomial time #

The network of a list of gate codes (Cslib.Quantum.PathNetwork.network) is computable in polynomial time from the gate codes, the measured qubits, the input register and the Hadamard sign, with its number of rows in binary and the network in the encoding of the contraction algorithm (ExplicitTensorNetwork.encExplicitNetwork). Every port and last occurrence is a search or a map over the occurrences of qubits, written in unary, and every table is a map over the first 2 ^ 6 numbers, a constant list.

Main results #

Reformulations for the polynomial-time combinators #

Occurrences #

Vertices #

The network of a circuit is polynomial-time in the gate codes, the measured qubits, the input register and the Hadamard sign, with its number of rows in binary.