Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Autoparallel committed May 20, 2024
1 parent 7d8355f commit 11c5902
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ use petgraph::graph::{DiGraph, NodeIndex};
// }
// ```
// So we can do things like `impl Add`, `impl Mul` for variables and make them into gates?

// Above seems done. Now we need to have a way to unravel a collection of expressions into a
// circuit that may have the same inputs and outputs as the expressions. Inputs are going to be
// the terminal variables found by fully unravelling expressions and they should be named. The
// fully ravelled expressions are the outputs, and they can also be named
use super::*;

pub mod dsl;
Expand Down Expand Up @@ -58,4 +63,3 @@ pub struct Circuit {
impl Circuit {
pub fn new() -> Self { Self { gates: DiGraph::new() } }
}

0 comments on commit 11c5902

Please sign in to comment.