sf.decompositions.nullMZi

nullMZi(m, n, U)[source]

Nullifies element m,n of U using mach_zehnder_inv.

Parameters
  • m (int) – row index of element to be nullified

  • n (int) – column index of element to be nullified

  • U (array) – matrix whose m,n element is to be nullified

Returns

list containing [m, n, internal_phase, external_phase, nmax] of the

mach_zehnder_inv unitaries needed

Return type

list