-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed ChimeraModel() fails due to missing positional argument 'sparse' …
…#381 (#433) ## Changes added sparse arguement where its needed ## Related issue - ChimeraModel() fails due to missing positional argument 'sparse' #381 ## Sample code ``` from openjij.model.chimera_model import ChimeraModel Q={(0, 4): -1, (4, 12): -1} chimera_model = ChimeraModel(quadratic =Q, unit_num_L=2) chimera_model.validate_chimera(chimera_model) ``` ## Misc Added dimod types Vartype, SPIN and BINARY as well
- Loading branch information
Showing
3 changed files
with
35 additions
and
37 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
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