Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. def execute(c,shots=1024,output='counts'):
  2. p2s=['I','X','Y','Z']*(c.n==2)+['']*(c.n==1)
  3. def j(p1,p2,q):
  4. return (p1+p2)*(q==1)+(p2+p1)*(q==0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement