We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d8355f commit 11c5902Copy full SHA for 11c5902
src/compiler/mod.rs
@@ -16,6 +16,11 @@ use petgraph::graph::{DiGraph, NodeIndex};
16
// }
17
// ```
18
// So we can do things like `impl Add`, `impl Mul` for variables and make them into gates?
19
+
20
+// Above seems done. Now we need to have a way to unravel a collection of expressions into a
21
+// circuit that may have the same inputs and outputs as the expressions. Inputs are going to be
22
+// the terminal variables found by fully unravelling expressions and they should be named. The
23
+// fully ravelled expressions are the outputs, and they can also be named
24
use super::*;
25
26
pub mod dsl;
@@ -58,4 +63,3 @@ pub struct Circuit {
58
63
impl Circuit {
59
64
pub fn new() -> Self { Self { gates: DiGraph::new() } }
60
65
}
61
-
0 commit comments