ralph-CNOT display

Hi,

I just compared ralph-cnot circuit displayed in Jupyter vs. plain-text mode.

I think plain text is incorrect, the upper and lower BS act on wrong modes.
Thanks
Jan

import perceval as pcvl
p = pcvl.catalog['postprocessed cnot'].build_processor()
pcvl.pdisplay(p, recursive=True)


image

Hello,

There is actually no problem here. In the text drawing, the photon from the herald0 is sent on mode 1 by the first PERM and put back on mode 4 by the last PERM. It’s just that representing permutations is ascii is too difficult so we just represent them with a cross without the detail of what is really happening.

Regards,