Arcelyth/mqc/circuit does not have a README file
pub(open) trait Condition {
fn evaluate(Self, &MeasurementRecord) -> Bool raise QError
fn name(Self) -> String = _
}pub(open) trait Effect {
fn measurement_key(Self) -> String? = _
fn name(Self) -> String
fn dim(Self) -> Array[UInt]
fn arity(Self) -> Int = _
fn try_conditional(Self) -> ConditionalEffect? = _
fn try_unitary(Self) -> Gate? = _
fn try_channel(Self) -> Channel? = _
fn try_decompose(Self) -> Program? raise QError = _
fn try_adjoint(Self) -> &Effect? raise QError = _
fn parameters(Self) -> Array[String] = _
}type Channeltype Circuit[Q]0: ───H───CNOT───M("bell")───
1: ───────#2─────M───────────0: ───H───CNOT───M("bell")───
1: ───────#2─────M───────────impl Effect for ConditionalEffecttype ForLoop[Q]type Gatefn Gate::from_kernel(name : String, dimensions : Array[UInt], kernel : &UnitaryKernel) -> Gate raise QErrortype IfElse[Q]fn[Q] IfElse::select(self : IfElse[Q], record : &MeasurementRecord) -> Iter[Instruction[Q]] raise QErrorimpl Condition for MeasurementConditionfn MeasurementCondition::evaluate(self : MeasurementCondition, records : &MeasurementRecord) -> Bool raise QErrortype Operation[Q]type Programtype WhileLoop[Q]Install
Download zipQuantum computing library for MoonBit.