qleisli 0.2.9

Experimental quantum language with linear ownership, exact contracts and independent finite IR verification
Documentation
1
2
3
4
use std::quantum::z;

// The client's fixed logical contract: |b> maps to (-1)^b |b>.
pub unitary fn phase(q: Q<Bit>) -> Q<Bit> { z(q) }