OPENQASM 3.0; include "stdgates.inc"; // Teleport lattice. The cut is the face, not the length of the hop. // Measured: a w by d face, one step thick, holds w*d bits. // 1x1=1, 2x2=4, 3x2=6, 3x3=9, 4x2=8. // Maximized face: 111 x 111 = 12321 bits. One CZ step across. // Do not put CNOT on the crossing bonds. That spent a row down to 0.903. // Do not statevector this. const float GOV = 1.941611038725467; qubit[111][111] here; qubit[111][111] there; for int x in [0:110] { for int y in [0:110] { x here[x][y]; h here[x][y]; rz(GOV) here[x][y]; x there[x][y]; h there[x][y]; rz(GOV) there[x][y]; cz here[x][y], there[x][y]; } }