Skip to content

Commit

Permalink
Comments adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
kb1dds committed Jul 26, 2024
1 parent 09a01b9 commit f0b19f7
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pysheaf/pysheaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,13 +698,18 @@ def from_netlist(self, netlist, **kwargs):
"bounds" : "[(0,1)]*2",
"ports" : { "IN1" : "lambda x: x[0]",
"IN2" : "lambda x: x[1]",
"OUT" : "lambda x: x[0]*x[1]" },
"connections" : [
{ "part" : "AND1",
"OUT" : "lambda x: x[0]*x[1]" }},
...
"A": {
"data_dimension" : 1,
"bounds" : "[(0,1)]",
"connections" : [
{ "part" : "AND2",
"port" : "IN1"}
]
}
]
},
...}
```
> [!TIP]
> The default behavior is that all cells created are optimization cells unless specified by the `optimize` flag.
Expand Down

0 comments on commit f0b19f7

Please sign in to comment.