Reversible Logic Synthesis Benchmarks Page


you are in... Main\Machine-Readable Format Description

    The machine-readable format is a .tfc file which consists of the following strings.

    Gate types. Examples.
  • NOT gate is a TOF(Ø;a) gate which in machine-readable format should be written as "t1 a".
  • CNOT gate is a TOF(a;b) gate which in machine-readable format should be written as "t2 a,b".
  • Original Toffoli gate is a TOF(a,b;c) gate which in machine-readable format should be written as "t3 a,b,c".
  • SWAP gate is a FRE(Ø;a,b) gate which in machine-readable format looks as "f2 a,b".
  • Original Fredkin gate is a FRE(a;b,c) which in machine-readable format looks as "f3 a,b,c".

  • Example. A reversible circuit file for 3-bit adder is as follows.