Structured Decomposition for Reversible Boolean Functions

Jiaqing Jiang, Xiaoming Sun, Yuan Sun, Kewen Wu, Zhiyu Xia

This paper, titled "Structured decomposition for reversible Boolean functions," presents a significant optimization in the field of reversible logic synthesis—a crucial area for both ultra-low-power classical computing and quantum circuit design.

TL;DR

The authors provide a more efficient way to break down complex $n$-bit reversible operations into smaller $(n-1)$-bit building blocks. By relaxing previous structural constraints, they reduced the required "block depth" from 9 to 7 for general even functions and from 13 to 10 when the blocks themselves must be even.

What Problem Does This Paper Address?

In classical computing, operations like AND or OR are irreversible—information is lost, which, according to Landauer’s principle, inevitably dissipates heat. Reversible Boolean Functions (RBFs) are one-to-one mappings that prevent this energy loss and are the fundamental language of quantum gates.

However, building a complex $n$-bit RBF is difficult. Researchers often use "induction": breaking an $n$-bit function into a sequence of $(n-1)$-bit functions (blocks). A major challenge is that an $n$-bit RBF can represent an "odd" permutation, which is mathematically impossible to decompose into $(n-1)$-bit blocks. Even for "even" permutations, finding the minimum number of blocks (the block depth) is a standing challenge. Previous work by Peter Selinger established a depth of 9, but it relied on a rigid "alternating" structure that limited physical implementation options.

Methods

The authors employ a two-stage constructive proof to improve these constants:

  1. Transformation to Controlled RBF: They first show that any even $n$-bit RBF can be transformed into an "even controlled RBF" (one that keeps at least one bit invariant) using just 3 blocks.
  2. Decomposition of Controlled RBF: They then prove that an even controlled RBF can be further broken down into 5 blocks.
  3. Merging: By cleverly merging the last block of the first stage with the first block of the second stage, they achieve a total depth of $3 + 5 - 1 = 7$.

To prove these steps, the authors use a novel "black-white cuboid" visualization. They map the $2^n$ permutations onto a 3D (and sometimes 4D) grid, where the color of a node indicates whether a bit is in its "correct" position. This allows them to treat the decomposition as a state-space traversal problem, using algorithms they call RPACK and TPACK to generate specific cycle patterns.

Datasets

Not applicable. As a theoretical paper in computer science and discrete mathematics, the work relies on mathematical proofs and algorithmic complexity analysis rather than empirical training on datasets.

Key Insights and Ideas

  • Relaxing the Alternating Constraint: Unlike previous models that forced blocks to alternate between two specific bit-positions, this paper allows blocks to act on any $(n-1)$ bits. This "relaxation" is what allows for a shallower depth and provides more "candidates" for choosing block positions in real hardware.
  • The Power of CCRBFs: The authors utilize Concurrent Controlled RBFs (CCRBFs)—a subset of controlled functions where the operation on the target bits is identical regardless of the control bit's value. They show these are sufficient to formulate almost any cycle pattern.
  • 3/5-Cycle Limitation: A key discovery is that while two $(n-1)$-bit blocks can formulate many patterns, they cannot compose a single 3-cycle or 5-cycle. This necessitated a "cycle elimination" algorithm (Lemma 6) to handle these specific cases before final decomposition.

Key Results

The paper successfully lowers the upper bounds for RBF decomposition:

  • Block Depth 7: For $n \ge 6$, any even $n$-bit RBF can be decomposed into 7 blocks of $(n-1)$-bit RBFs. This improves the previous best of 9.
  • Even Block Depth 10: For $n \ge 10$, if the blocks themselves are restricted to being even permutations, the depth is 10. This improves the previous best of 13.
  • Algorithmic Efficiency: Because the proofs are constructive, the authors’ method functions as an efficient algorithm for synthesizing reversible circuits.

Limitations and Future Work

  • Optimality: The authors acknowledge that while 7 and 10 are improvements, they may not be the optimal (minimum possible) constants.
  • Bit Constraints: The results currently require a minimum number of bits ($n \ge 6$ or $n \ge 10$). Future work could look into relaxing these constraints for very small-scale circuits.
  • Unitary Blocks: A fascinating open question posed is whether using general unitary blocks (from quantum computing) instead of strictly Boolean RBF blocks could reduce the depth even further.

Summary updated

BibTeX
@article{jiang2020structured,
  author = {Jiaqing Jiang and Xiaoming Sun and Yuan Sun and Kewen Wu and Zhiyu Xia},
  title = {{Structured Decomposition for Reversible Boolean Functions}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2020},
  doi = {10.1109/tcad.2019.2928974},
}
Figure