layering

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package layering provides functionality to compile an IR of a circuit into a layered circuit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(rc *ir.RootCircuit) (*layered.RootCircuit, *ir.InputOrder)

Compile takes an IR RootCircuit and compiles it into a layered circuit.

func ProfilingCompile

func ProfilingCompile(rc *ir.RootCircuit) []int

ProfilingCompile is similar to Compile but is used for profiling purposes. It partially compiles the circuit and computes cost associated with each variable in the circuit.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL