Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.07 KB

README.md

File metadata and controls

20 lines (18 loc) · 1.07 KB

QALU

Quantum Arithmetic Logic Unit

pip install QALU

For Docs, cilck here

Function Schema Superposed State
and_(circ,a,b,out)
nand_(circ,a,b,out)
or_(circ,a,b,out)
nor_(circ,a,b,out)
xor_(circ,a,b,out)
xnor_(circ,a,b,out)
half_adder(circ, a, b, carry,sum_)
full_adder(circ,a,b,c_in,c_out,sum_)
half_subtractor(circ, a, b, bor, diff)
full_subtractor(circ,a,b,b_in,b_out,diff)
multi_qubits_adder(circ,A,B,T,C) No state sphere provided
multi_qubits_subtractor(circ,A,B,T,C) No state sphere provided