  In this paper we outline a method for a compiler to translate any non fault
tolerant quantum circuit to the geometric representation of the lattice surgery
error-correcting code using inherent merge and split operations. Since the
efficiency of state distillation procedures has not yet been investigated in
the lattice surgery model, their translation is given as an example using the
proposed method. The resource requirements seem comparable to the defect-based
state distillation process, but modularity and eventual implementability allow
the lattice surgery model to be an interesting alternative to braiding.
