Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def execute(c,shots=1024,output='counts'):
- p2s=['I','X','Y','Z']*(c.n==2)+['']*(c.n==1)
- def j(p1,p2,q):
- return (p1+p2)*(q==1)+(p2+p1)*(q==0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement