aboutsummaryrefslogtreecommitdiff
path: root/libpsi-visualizer/src/lib.rs
blob: 11436c4f38a1c6fbb2df02897bcbd77fb5031889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use libpsi_core::*;
use std::fmt;

pub mod cli;
pub use cli::*;

pub trait Visualizer<'a>
where
    Self: fmt::Display,
{
    fn new(circuit: &'a QuantumCircuit) -> Self;
    fn render(&mut self);
}