Skip to content

Commit

Permalink
Add correct result as a comment for testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
chmwzc committed Dec 26, 2024
1 parent e4456e1 commit c551ec3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,13 @@ def main():


if __name__ == "__main__":
# Hopefully correct result for H2/BK mapping: Two groups
#
# Group 1:
# Terms: ['X0 Z1 X2', 'Y0 Z1 Y2', 'X0 Z1 X2 Z3', 'Y0 Z1 Y2 Z3', 'Z0 Z2', 'Z0 Z1 Z2', 'Z0 Z2 Z3', 'Z0 Z1 Z2 Z3', 'Z1', 'Z1 Z3']
# Measurements: {0: 'Bell02', 1: 'Z', 2: 'Bell02', 3: 'Z'}
#
# Group 2:
# Terms: ['Z0', 'Z2', 'Z0 Z1', 'Z1 Z2 Z3']
# Measurements: {0: 'Z', 1: 'Z', 2: 'Z', 3: 'Z'}
main()

0 comments on commit c551ec3

Please sign in to comment.