-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5382b1b
commit 62ad787
Showing
9 changed files
with
229 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
c id : 2 | ||
c description : "Model 2 ~ Simple model with solutions" | ||
c scale : 2.7 | ||
c offset : 1.93 | ||
p qubo 0 6 3 2 | ||
c linear terms | ||
1 1 0.0 | ||
3 3 0.4 | ||
5 5 -4.4 | ||
c quadratic terms | ||
1 3 -0.8 | ||
1 5 6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
c id : 1 | ||
c | ||
c scale : 1.0 | ||
c offset : 0.0 | ||
c description : "Model 1 ~ Simple model with linear terms" | ||
c | ||
p qubo 0 7 2 0 | ||
c linear terms | ||
2 2 1.3 | ||
4 4 0.0 | ||
6 6 -0.7 | ||
c quadratic terms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"scale": 2.7, | ||
"id": 2, | ||
"version": "1.0.0", | ||
"description": "Model 2 ~ Simple model with solutions", | ||
"linear_terms": [ | ||
{ | ||
"id": 1, | ||
"coeff": 0.0 | ||
}, | ||
{ | ||
"id": 3, | ||
"coeff": 0.4 | ||
}, | ||
{ | ||
"id": 5, | ||
"coeff": -4.4 | ||
} | ||
], | ||
"offset": 1.93, | ||
"quadratic_terms": [ | ||
{ | ||
"id_head": 1, | ||
"coeff": -0.8, | ||
"id_tail": 3 | ||
}, | ||
{ | ||
"id_head": 1, | ||
"coeff": 6.0, | ||
"id_tail": 5 | ||
} | ||
], | ||
"variable_domain": "boolean", | ||
"variable_ids": [ | ||
1, | ||
3, | ||
5 | ||
], | ||
"metadata": {}, | ||
"solutions": [ | ||
{ | ||
"evaluation": 6.291, | ||
"id": 0, | ||
"assignment": [ | ||
{ | ||
"id": 1, | ||
"value": 0 | ||
}, | ||
{ | ||
"id": 3, | ||
"value": 1 | ||
}, | ||
{ | ||
"id": 5, | ||
"value": 0 | ||
} | ||
], | ||
"description": "first solution" | ||
}, | ||
{ | ||
"evaluation": 9.531, | ||
"id": 1, | ||
"assignment": [ | ||
{ | ||
"id": 1, | ||
"value": 1 | ||
}, | ||
{ | ||
"id": 3, | ||
"value": 0 | ||
}, | ||
{ | ||
"id": 5, | ||
"value": 1 | ||
} | ||
], | ||
"description": "second solution" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"id": 2, | ||
"description": "Model 2 ~ Simple model with solutions", | ||
"linear_terms": [ | ||
{ | ||
"coeff": 1.3, | ||
"id": 1 | ||
}, | ||
{ | ||
"coeff": -0.7, | ||
"id": 5 | ||
} | ||
], | ||
"metadata": {}, | ||
"offset": 1.23, | ||
"quadratic_terms": [ | ||
{ | ||
"coeff": -0.2, | ||
"id_head": 3, | ||
"id_tail": 1 | ||
}, | ||
{ | ||
"coeff": 1.5, | ||
"id_head": 5, | ||
"id_tail": 1 | ||
} | ||
], | ||
"scale": 2.7, | ||
"variable_domain": "spin", | ||
"variable_ids": [ | ||
1, | ||
3, | ||
5 | ||
], | ||
"version": "1.0.0", | ||
"solutions": [ | ||
{ | ||
"id": 0, | ||
"description": "first solution", | ||
"evaluation": 6.291, | ||
"assignment": [ | ||
{ | ||
"id": 1, | ||
"value": -1 | ||
}, | ||
{ | ||
"id": 3, | ||
"value": 1 | ||
}, | ||
{ | ||
"id": 5, | ||
"value": -1 | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 1, | ||
"description": "second solution", | ||
"evaluation": 9.531, | ||
"assignment": [ | ||
{ | ||
"id": 1, | ||
"value": 1 | ||
}, | ||
{ | ||
"id": 3, | ||
"value": -1 | ||
}, | ||
{ | ||
"id": 5, | ||
"value": 1 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters