Closed keefehuang closed 4 years ago
This merge request also adds the "distribution" function that performs distribution(c, \psi) = apply(c.cgc, \psi)
This merge request also adds the "distribution" function that performs distribution(c, \psi) = apply(c.cgc, \psi)
Added indexing of Circuits: Circuits[i] = Circuits.cgc[i]
Added appending of CGC cgc = cgc1 * cgc2 -> Only allows appending if share {N} wires
Added approx comparison of cg gates cg \approx cg will compare all fields and match them if the two gates are of the same type.