Skip to content

Commit

Permalink
Add test file
Browse files Browse the repository at this point in the history
  • Loading branch information
lmondada committed Sep 14, 2023
1 parent 8d0c5b8 commit da00392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_files/barenco_tof_5_rm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"bits": [], "commands": [{"args": [["q", [8]]], "op": {"type": "H"}}, {"args": [["q", [7]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [8]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [4]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [8]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [7]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [4]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [4]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [4]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [7]]], "op": {"type": "H"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [6]]], "op": {"type": "H"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [5]]], "op": {"type": "H"}}, {"args": [["q", [1]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [0]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [1]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [0]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [0]], ["q", [1]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [0]], ["q", [1]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"type": "H"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"type": "H"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"type": "H"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [7]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [8]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [4]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [8]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [7]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [4]], ["q", [8]]], "op": {"type": "CX"}}, {"args": [["q", [4]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [8]]], "op": {"type": "H"}}, {"args": [["q", [7]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [4]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [7]]], "op": {"type": "H"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"type": "H"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"type": "H"}}, {"args": [["q", [1]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [0]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [1]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [0]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [0]], ["q", [1]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [0]], ["q", [1]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"type": "H"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [5]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"type": "H"}}, {"args": [["q", [5]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [2]], ["q", [5]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [5]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [7]]], "op": {"params": ["-0.25"], "type": "Rz"}}, {"args": [["q", [6]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [7]]], "op": {"type": "CX"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [7]]], "op": {"type": "H"}}, {"args": [["q", [6]]], "op": {"params": ["0.25"], "type": "Rz"}}, {"args": [["q", [3]], ["q", [6]]], "op": {"type": "CX"}}, {"args": [["q", [6]]], "op": {"params": ["-0.25"], "type": "Rz"}}], "created_qubits": [], "discarded_qubits": [], "implicit_permutation": [[["q", [0]], ["q", [0]]], [["q", [1]], ["q", [1]]], [["q", [2]], ["q", [2]]], [["q", [3]], ["q", [3]]], [["q", [4]], ["q", [4]]], [["q", [5]], ["q", [5]]], [["q", [6]], ["q", [6]]], [["q", [7]], ["q", [7]]], [["q", [8]], ["q", [8]]]], "phase": "0.0", "qubits": [["q", [0]], ["q", [1]], ["q", [2]], ["q", [3]], ["q", [4]], ["q", [5]], ["q", [6]], ["q", [7]], ["q", [8]]]}

0 comments on commit da00392

Please sign in to comment.