Skip to content

Commit

Permalink
add support for hadamard gate in Red-Green theory
Browse files Browse the repository at this point in the history
  • Loading branch information
zamdzhiev committed Oct 15, 2014
1 parent c719ad0 commit d061e79
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scala/src/main/resources/quanto/data/red_green.qtheory
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,27 @@
"type" : "Z",
"value" : ""
}
},
"hadamard" : {
"value" : {
"path" : "$.value",
"validate_with_core" : false,
"latex_constants" : false,
"type" : "string"
},
"style" : {
"label" : {
"position" : "inside",
"fg_color" : [ 0.0, 0.2, 0.0 ]
},
"stroke_color" : [ 0.0, 0.0, 0.0 ],
"fill_color" : [ 1.0, 1.0, 0.0 ],
"shape" : "rectangle"
},
"default_data" : {
"type" : "hadamard",
"value" : ""
}
}
},
"edge_types" : {
Expand Down

0 comments on commit d061e79

Please sign in to comment.