Anders and Briegel in Python
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

10 行
268B

  1. import local_cliffords as lc
  2. def test_identify_pauli():
  3. assert lc.identify_pauli(lc.px) == "+x"
  4. assert lc.identify_pauli(-lc.px) == "-x"
  5. assert lc.identify_pauli(-lc.pz) == "-z"
  6. def test_get_action():
  7. assert lc.get_action(lc.i) == ("+x", "+y", "+z")