Skip to main content
QUICK REVIEW

[Paper Review] Automated Method for Building CNOT Based Quantum Circuits for Boolean Functions

Ahmed Younes, Julian F. Miller|ArXiv.org|Apr 14, 2003
Quantum Computing Algorithms and ArchitectureComputer Science5 references18 citations
TL;DR

This paper presents an automated, deterministic method to synthesize CNOT-based quantum circuits for any Boolean function using a single auxiliary qubit initialized to |0⟩. The approach converts a truth table into a minimal quantum circuit via controlled CNOT gates with conditional controls (cond-0 or cond-1), ensuring reversibility and minimizing qubit usage, with the key contribution being a unique, compact circuit form that outperforms prior methods in gate count and scalability.

ABSTRACT

In this paper we discuss an efficient technique that can implement any given Boolean function as a quantum circuit. The method converts a truth table of a Boolean function to the corresponding quantum circuit using a minimal number of auxiliary qubits. We give examples of some circuits synthesized with this technique. A direct result that follows from the technique is a new way to convert any classical digital circuit to its classical reversible form.

Motivation & Objective

  • To develop an efficient, automated method for constructing reversible quantum circuits implementing arbitrary Boolean functions.
  • To minimize the number of auxiliary qubits used, restricting to just one qubit initialized to |0⟩.
  • To provide a deterministic, unique circuit synthesis method that avoids non-uniqueness issues in prior approaches.
  • To enable the construction of classically reversible circuits from any classical digital circuit via quantum circuit synthesis.
  • To improve scalability and reduce gate count compared to existing methods like Karnaugh map-based or multi-auxiliary-qubit techniques.

Proposed method

  • The method maps a Boolean function's truth table to a quantum circuit using a single auxiliary qubit initialized to |0⟩, which stores the function output.
  • It employs generalized CNOT gates where the target qubit is flipped if and only if all control qubits satisfy a specified condition (cond-0 for |0⟩, cond-1 for |1⟩).
  • Each minterm in the truth table corresponds to a CNOT gate with a unique combination of control qubits and conditions, represented algebraically as $ x_t o x_t igoplus igwedge_{i} (x_i igoplus ar{eta}_i) $.
  • The algorithm applies transformations to eliminate all δ = 1 conditions (cond-1), reducing circuit complexity and ensuring minimal gate count.
  • The final circuit is constructed as a sequence of CNOT gates, with the number of gates bounded by $ 3^{n-1} $ for n-qubit functions.
  • The method leverages canonical forms from prior work [5] to further optimize gate cost, though it may slightly increase gate count for improved cost efficiency.

Experimental results

Research questions

  • RQ1Can a single-auxiliary-qubit method be used to deterministically synthesize minimal CNOT-based quantum circuits for any Boolean function?
  • RQ2How does the proposed method compare in gate count and scalability to Karnaugh map-based or multi-auxiliary-qubit approaches?
  • RQ3What is the probability distribution of circuit sizes generated by this method across all possible Boolean functions of n variables?
  • RQ4Can this method be used to generate a reversible classical circuit equivalent of any classical irreversible digital circuit?
  • RQ5Is the resulting quantum circuit unique, and does it achieve better minimality than existing techniques?

Key findings

  • The method generates a unique quantum circuit for each Boolean function, avoiding the non-uniqueness problem of prior Karnaugh map-based approaches.
  • The maximum number of CNOT gates required is $ 3^{n-1} $, and the most probable circuit size for an n-qubit function is approximately $ 2^{n-2} $ gates.
  • For a 3-qubit function, the probability of a 4-gate or 0-gate circuit is 0.0625, while the probability of a $ 2^{n-2} $-gate circuit is 0.875.
  • For a 4-qubit function, the probability of an 8-gate or 0-gate circuit is 0.0039, and the probability of a $ 2^{n-2} $-gate circuit is 0.7109.
  • The method achieves a significant reduction in gate count compared to prior methods like [5], which require multiple auxiliary qubits and produce larger circuits.
  • The technique enables the direct construction of reversible classical circuits from any classical digital circuit by synthesizing the corresponding quantum circuit and extracting reversible logic gates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.