TikZ is relatively clean and brief. For this https://en.wikipedia.org/wiki/File:Matrix_product_state_obc_tikz.svg it takes I didn't have to use too much code: https://gist.github.com/stared/11185110.