PennyLane
Install
Install
  1. Compilation/
  2. RowCol Algorithm

RowCol Algorithm

OverviewDetailsBenchmarksResources

Academic resource(s)

Explore foundational research through preprint papers, scholarly articles, and textbooks that introduce, use, and extend this technique.

This work presents methods to optimize the size and depth of CNOT circuits under constrained topologies. It is a subroutine to many other quantum compilation techniques.

Explore further

This paper introduces the parity matrix intermediate representation of CNOT circuits. It proposes a technique based on Gaussian elimination and Steiner trees, and has been further refined to work with arbitrary topologies in the RowCol algorithm.

Explore further

Early CNOT routing algorithm for constrained connectivity. The worst-case scaling of 4n² is improved upon in RowCol algorithm.

Explore further

Software tool(s)

Quantum Circuit IRs in PennyLane Labs

Documentation

qp.transforms.rowcol

Never miss a milestone

Get the latest quantum updates delivered to your inbox.

Join the list
PennyLane

PennyLane is an open-source quantum software platform for quantum computing, quantum machine learning, and quantum chemistry. Create meaningful quantum algorithms, from inspiration to implementation.

Created with ❤️ by Xanadu.

Research

  • Research

  • Performance

  • Hardware and simulators

  • Demos library

  • Compilation hub

  • Quantum datasets

Education

  • Teach

  • Learn

  • Codebook

  • Coding challenges

  • Videos

  • Glossary

Software

  • Install

  • Features

  • PennyLane documentation

  • Catalyst documentation

  • Development guide

  • How-to guides

  • API

  • GitHub


Xanadu

© Copyright 2026 | Xanadu | All rights reserved

TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.

Privacy policyTerms of serviceCookies policyCode of conduct