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.
|
- from abp import GraphState
-
- N = int(1e6)
- g = GraphState()
- g.add_nodes(xrange(N))
-
- for i in range(N):
- g.act_hadamard(i)
-
- for i in range(N):
- g.act_cz(i, (i+1) % N)
|