qutip/qutip — pull request #211 by jrjohansson (2014-08-13 02:21:39+00:00)
Title: fix bug in gate_expand_3toN

for the case when N=3 and targets and controls are only permuted