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.

11 line
206B

  1. from abp import VisibleGraphState
  2. s = VisibleGraphState()
  3. for i in range(1000):
  4. s.add_node(i)
  5. s.act_local_rotation(i, "hadamard")
  6. s.update()
  7. for i in range(1000-1):
  8. s.act_cz(i, i+1)
  9. s.update()