Skip to main content

PGPass

Trait PGPass 

Source
pub trait PGPass {
    // Required method
    fn transform(&self, pg: &PauliGraph) -> PauliGraph;
}
Expand description

A transformation pass over a Pauli graph.

Required Methods§

Source

fn transform(&self, pg: &PauliGraph) -> PauliGraph

Produces a transformed Pauli graph from the provided input graph.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§