Skip to content

Commit

Permalink
H2 all format
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyhuang1007 authored and johnnyhuang1007 committed Aug 27, 2024
1 parent d2c2f21 commit 47785e2
Show file tree
Hide file tree
Showing 5,000 changed files with 4,025,000 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions benchmarks/_others/H2/H2_all_format/001/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/001/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=1 : c0 |i>
8 changes: 8 additions & 0 deletions benchmarks/_others/H2/H2_all_format/001/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[c0,1] -> 1
[c1,1] -> 2
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/001/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=1 : c0 |i>
8 changes: 8 additions & 0 deletions benchmarks/_others/H2/H2_all_format/001/pre.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1, 2) -> 0
[1,2](2, 1) -> 0
[c0,1] -> 1
[c1,1] -> 2
7 changes: 7 additions & 0 deletions benchmarks/_others/H2/H2_all_format/002/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[2];
h qubits[1];
h qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/002/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=2 : c0 |i>
11 changes: 11 additions & 0 deletions benchmarks/_others/H2/H2_all_format/002/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[2,3](3,3) -> 1
[2,1](3,4) -> 2
[2,2](4,3) -> 2
[c0,1] -> 3
[c1,1] -> 4
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/002/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=2 : c0 |i>
11 changes: 11 additions & 0 deletions benchmarks/_others/H2/H2_all_format/002/pre.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1, 2) -> 0
[1,2](2, 1) -> 0
[2,3]() -> 1
[2,1]() -> 2
[2,2]() -> 2
[c0,1] -> 3
[c1,1] -> 4
9 changes: 9 additions & 0 deletions benchmarks/_others/H2/H2_all_format/003/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[3];
h qubits[2];
h qubits[2];
h qubits[1];
h qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/003/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=3 : c0 |i>
14 changes: 14 additions & 0 deletions benchmarks/_others/H2/H2_all_format/003/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[2,3](3,3) -> 1
[2,1](3,4) -> 2
[2,2](4,3) -> 2
[3,3](5,5) -> 3
[3,1](5,6) -> 4
[3,2](6,5) -> 4
[c0,1] -> 5
[c1,1] -> 6
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/003/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=3 : c0 |i>
14 changes: 14 additions & 0 deletions benchmarks/_others/H2/H2_all_format/003/pre.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1, 2) -> 0
[1,2](2, 1) -> 0
[2,3]() -> 1
[2,1]() -> 2
[2,2]() -> 2
[3,3]() -> 3
[3,1]() -> 4
[3,2]() -> 4
[c0,1] -> 5
[c1,1] -> 6
11 changes: 11 additions & 0 deletions benchmarks/_others/H2/H2_all_format/004/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[4];
h qubits[3];
h qubits[3];
h qubits[2];
h qubits[2];
h qubits[1];
h qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/004/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=4 : c0 |i>
17 changes: 17 additions & 0 deletions benchmarks/_others/H2/H2_all_format/004/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[2,3](3,3) -> 1
[2,1](3,4) -> 2
[2,2](4,3) -> 2
[3,3](5,5) -> 3
[3,1](5,6) -> 4
[3,2](6,5) -> 4
[4,3](7,7) -> 5
[4,1](7,8) -> 6
[4,2](8,7) -> 6
[c0,1] -> 7
[c1,1] -> 8
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/004/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=4 : c0 |i>
17 changes: 17 additions & 0 deletions benchmarks/_others/H2/H2_all_format/004/pre.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1, 2) -> 0
[1,2](2, 1) -> 0
[2,3]() -> 1
[2,1]() -> 2
[2,2]() -> 2
[3,3]() -> 3
[3,1]() -> 4
[3,2]() -> 4
[4,3]() -> 5
[4,1]() -> 6
[4,2]() -> 6
[c0,1] -> 7
[c1,1] -> 8
13 changes: 13 additions & 0 deletions benchmarks/_others/H2/H2_all_format/005/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[5];
h qubits[4];
h qubits[4];
h qubits[3];
h qubits[3];
h qubits[2];
h qubits[2];
h qubits[1];
h qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/005/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=5 : c0 |i>
20 changes: 20 additions & 0 deletions benchmarks/_others/H2/H2_all_format/005/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[2,3](3,3) -> 1
[2,1](3,4) -> 2
[2,2](4,3) -> 2
[3,3](5,5) -> 3
[3,1](5,6) -> 4
[3,2](6,5) -> 4
[4,3](7,7) -> 5
[4,1](7,8) -> 6
[4,2](8,7) -> 6
[5,3](9,9) -> 7
[5,1](9,10) -> 8
[5,2](10,9) -> 8
[c0,1] -> 9
[c1,1] -> 10
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/005/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=5 : c0 |i>
20 changes: 20 additions & 0 deletions benchmarks/_others/H2/H2_all_format/005/pre.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1, 2) -> 0
[1,2](2, 1) -> 0
[2,3]() -> 1
[2,1]() -> 2
[2,2]() -> 2
[3,3]() -> 3
[3,1]() -> 4
[3,2]() -> 4
[4,3]() -> 5
[4,1]() -> 6
[4,2]() -> 6
[5,3]() -> 7
[5,1]() -> 8
[5,2]() -> 8
[c0,1] -> 9
[c1,1] -> 10
15 changes: 15 additions & 0 deletions benchmarks/_others/H2/H2_all_format/006/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[6];
h qubits[5];
h qubits[5];
h qubits[4];
h qubits[4];
h qubits[3];
h qubits[3];
h qubits[2];
h qubits[2];
h qubits[1];
h qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/006/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=6 : c0 |i>
23 changes: 23 additions & 0 deletions benchmarks/_others/H2/H2_all_format/006/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[2,3](3,3) -> 1
[2,1](3,4) -> 2
[2,2](4,3) -> 2
[3,3](5,5) -> 3
[3,1](5,6) -> 4
[3,2](6,5) -> 4
[4,3](7,7) -> 5
[4,1](7,8) -> 6
[4,2](8,7) -> 6
[5,3](9,9) -> 7
[5,1](9,10) -> 8
[5,2](10,9) -> 8
[6,3](11,11) -> 9
[6,1](11,12) -> 10
[6,2](12,11) -> 10
[c0,1] -> 11
[c1,1] -> 12
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/006/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=6 : c0 |i>
23 changes: 23 additions & 0 deletions benchmarks/_others/H2/H2_all_format/006/pre.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1, 2) -> 0
[1,2](2, 1) -> 0
[2,3]() -> 1
[2,1]() -> 2
[2,2]() -> 2
[3,3]() -> 3
[3,1]() -> 4
[3,2]() -> 4
[4,3]() -> 5
[4,1]() -> 6
[4,2]() -> 6
[5,3]() -> 7
[5,1]() -> 8
[5,2]() -> 8
[6,3]() -> 9
[6,1]() -> 10
[6,2]() -> 10
[c0,1] -> 11
[c1,1] -> 12
17 changes: 17 additions & 0 deletions benchmarks/_others/H2/H2_all_format/007/circuit.qasm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
OPENQASM 2.0;
qelib1.inc;
qreg qubits[7];
h qubits[6];
h qubits[6];
h qubits[5];
h qubits[5];
h qubits[4];
h qubits[4];
h qubits[3];
h qubits[3];
h qubits[2];
h qubits[2];
h qubits[1];
h qubits[1];
h qubits[0];
h qubits[0];
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/007/post.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=7 : c0 |i>
26 changes: 26 additions & 0 deletions benchmarks/_others/H2/H2_all_format/007/post.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Constants
c0 := 0
c1 := 1
Colored Transitions
[1,1](1,2) -> 0
[1,2](2,1) -> 0
[2,3](3,3) -> 1
[2,1](3,4) -> 2
[2,2](4,3) -> 2
[3,3](5,5) -> 3
[3,1](5,6) -> 4
[3,2](6,5) -> 4
[4,3](7,7) -> 5
[4,1](7,8) -> 6
[4,2](8,7) -> 6
[5,3](9,9) -> 7
[5,1](9,10) -> 8
[5,2](10,9) -> 8
[6,3](11,11) -> 9
[6,1](11,12) -> 10
[6,2](12,11) -> 10
[7,3](13,13) -> 11
[7,1](13,14) -> 12
[7,2](14,13) -> 12
[c0,1] -> 13
[c1,1] -> 14
4 changes: 4 additions & 0 deletions benchmarks/_others/H2/H2_all_format/007/pre.hsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constants
c0 := 1
Extended Dirac
\/ |i|=7 : c0 |i>
Loading

0 comments on commit 47785e2

Please sign in to comment.