示例#1
0
 def _rand_3qubit_gate(N=None, controls=None, k=None):
     if N is None:
         return _rand_gate_U
     else:
         return gate_expand_3toN(_rand_gate_U, N, controls, k)
示例#2
0
文件: test_gates.py 项目: tmng/qutip
 def _rand_3qubit_gate(N=None, controls=None, k=None):
     if N is None:
         return _rand_gate_U
     else:
         return gate_expand_3toN(_rand_gate_U, N, controls, k)