Research Article
Efficient Algorithms for Optimal 4-Bit Reversible Logic System Synthesis
Algorithm 1
Quantum_Minimum_Length (QML).
Input: Quantum Gate Library | Output: | 1: | 2: while do | 3: | 4: for each node Node x in do | 5: | 6: for do | 7: if then | 8: | 9: end if | 10: for each gate in do | 11: | 12: if then | 13: | , | | 14: if memory overflow error then | 15: | 16: end if | 17: end if | 18: end for | 19: end for | 20: end for | 21: | 22: end while | 23: |
|