Anders and Briegel in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
380B

  1. from anders_briegel import graphsim
  2. from abp import clifford, qi
  3. import itertools
  4. import numpy as np
  5. for i, j in itertools.product(range(4), range(24)):
  6. operation, phase = clifford.conjugate(i, j)
  7. vop_u = clifford.unitaries[i]
  8. transform_u = clifford.unitaries[j]
  9. u = np.dot(transform_u, np.dot(vop_u, qi.hermitian_conjugate(transform_u)))
  10. #print u.round(2)