Skip to main content
Log in

A Ternary Decision Diagram (TDD)-Based Synthesis Approach for Ternary Logic Circuits

  • Original Contribution
  • Published:
Journal of The Institution of Engineers (India): Series B Aims and scope Submit manuscript

Abstract

Ternary reversible logic synthesis has started gaining the attention of researchers in recent years because of its distinct advantages over binary reversible logic synthesis. However, the existing methods for the synthesis of ternary reversible logic circuits are applicable only to smaller benchmarks. The present paper proposes an efficient synthesis approach in this regard using ternary decision diagrams (TDDs). A TDD is first generated for the function that is to be synthesized. Then, using a gate library of ternary reversible gates, each TDD node is mapped to a sequence of ternary reversible gates that are finally merged together to form the required netlist. The ternary gate library consists of ternary reversible gates such as multi-polarity ternary Feynman gate and multi-polarity ternary Toffoli gate. To estimate the quantum cost, we propose a decomposition approach to represent a ternary reversible gate in terms of ternary elementary gates. We have carried out experimental evaluation on two types of benchmarks. The first type consists of binary reversible benchmarks converted into ternary reversible benchmarks using a transformation approach. The second type is based on ternary non-reversible benchmarks. We have reported the results for benchmarks with up to 13 inputs with a longest runtime of 7 min, which compares favourably with the existing works in the literature.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

References

  1. S.P. Ching, M.K. Suaidi, Ternary decision diagrams, in Proceedings of the Student Conference on Research and Development, Shah Alam, Malaysia (2002), pp. 76–79

  2. G.W. Dueck, Challenges and advances in Toffoli network optimisation. IET Comput. Dig. Tech. 8(4), 172–177 (2014)

    Article  MathSciNet  Google Scholar 

  3. P. Gupta, A. Agrawal, N.K. Jha, An algorithm for synthesis of reversible logic circuits. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 25(11), 2317–2330 (2006)

    Article  Google Scholar 

  4. M. Khan, J.E. Rice, Ternary max-min algebra for representation of reversible logic functions, in Proceedings of the International Symposium on Circuits and Systems (ISCAS), Montreal, Canada (2016), pp. 1670–1673

  5. M.H.A. Khan, M. Perkowski, Genetic algorithm based synthesis of multi-output ternary functions using quantum cascade of generalized ternary gates, in Proceedings of the IEEE Congress on Evolutionary Computation, Portland, USA (2004), pp. 2194–2201

  6. M.H.A. Khan, M.A. Perkowski, Quantum ternary parallel adder/subtractor with partially-look-ahead carry. J. Syst. Archit. 53(7), 453–464 (2007)

    Article  Google Scholar 

  7. M.H.A. Khan, M.A. Perkowski, M.R. Khan, P. Kerntopf, Ternary GFSOP minimization using Kronecker decision diagrams and their synthesis with quantum cascades. J. Mult. Valued Log. Soft Comput. 11(5), 567–602 (2005)

    MATH  Google Scholar 

  8. M.M.M. Khan, A.K. Biswas, S. Chowdhury, M. Hasan, A.I. Khan, Synthesis of GF(3) based reversible/quantum logic circuits without garbage output, in Proceedings of the 39th International Symposium on Multiple-Valued Logic, Okinawa, Japan (2009), pp. 98–102

  9. A. Kole, P.M.N. Rani, K. Datta, I. Sengupta, R. Drechsler, Exact synthesis of ternary reversible functions using ternary Toffoli gates, in Proceedings of the 47th International Symposium on Multiple-Valued Logic (ISMVL), Novi Sad, Serbia (2017), pp. 179–184

  10. X. Li, G. Yang, D. Zheng, Logic synthesis of ternary quantum circuits with minimal qutrits. J. Comput. 8(3), 1941–1946 (2013)

    Google Scholar 

  11. D. Maslov, G. Dueck, D. Miller, C. Negrevergne, Quantum circuit simplification and level compaction. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 27(3), 436–444 (2008)

    Article  Google Scholar 

  12. D. Miller, Z. Sasanian, Lowering the quantum gate cost of reversible circuits, in Proceedings of the International Midwest Symposium on Circuits and Systems (2010), pp. 260–263

  13. D.M. Miller, G. Dueck, D. Maslov, A synthesis method for MVL reversible logic, in Proceedings of the 34th International Symposium on Multiple-Valued Logic (ISMVL), Ontario, Canada (2004), pp. 74–80

  14. A. Muthukrishnan, C.R. Stroud, Multivalued logic gates for quantum computation. Phys. Rev. A 62(5), 052309 (2000)

    Article  MathSciNet  Google Scholar 

  15. P.M.N. Rani, A. Kole, K. Datta, A. Chakrabarty, Realization of ternary reversible circuits using improved gate library, in Proceedings of the 6th International Conference on Advances in Computing and Communications, Cochin, India (2016), pp. 153–160

  16. P.M.N. Rani, A. Kole, K. Datta, I. Sengupta, Improved decomposition of multiple-control ternary Toffoli gates using Muthukrishnan–Stroud quantum gates, in Proceedings of the International Conference on Reversible Computation (RC), Kolkata, India (2017), pp. 202–213

  17. T. Sasao, Ternary decision diagrams survey, in Proceedings of the 27th International Symposium on Multiple-Valued Logic, Nova Scotia, Canada (1997), pp. 241–250

  18. R. Wille, R. Drechsler, BDD-based synthesis of reversible logic for large functions, in Proceedings of the 46th Annual Design Automation Conference, DAC ‘09, San Francisco, California (2009), pp. 270–275

  19. R. Wille, D. Grobe, L. Teuber, G.W. Dueck, R. Drechsler, RevLib: an online resource for reversible functions and reversible circuits, in Proceedings of the International Symposium on Multiple-Valued Logic, Texas, USA (2008), pp. 220–225

  20. G. Yang, X. Song, M.A. Perkowski, W.N.N. Hung, J. Biamonte, Z. Tang, Four-level realisation of 3-qubit reversible functions. IET Comput. Dig. Tech. 1(4), 382–388 (2007)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to P. Mercy Nesa Rani.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rani, P.M.N., Kole, A. & Datta, K. A Ternary Decision Diagram (TDD)-Based Synthesis Approach for Ternary Logic Circuits. J. Inst. Eng. India Ser. B 100, 295–307 (2019). https://doi.org/10.1007/s40031-019-00414-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40031-019-00414-y

Keywords

Navigation