Research Article
Efficient Algorithms for Optimal 4-Bit Reversible Logic System Synthesis
Algorithm 2
Minimal_Quantum_Representation (MQR).
| Input: Quantum Gate Library , minimal permutation , | | circuit length | | Output: Circuit of minimal permutation with mini-length | | 1: compute as in for the first time; | | 2: . | | 3: . | | 4: while do | | 5: | | 6: . | | 7: . | | : end while | | 9: .. | | 10: . | | 11: for to do | | 12: .. | | 13: .. | | 14: | | 15: end for | | 16: return |
|