PennyLane
  • Why PennyLane
  • Getting Started
  • Documentation
  • Ecosystem
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

PennyLane

PennyLane is an open-source software framework for quantum machine learning, quantum chemistry, and quantum computing, with the ability to run on all hardware. Built with ❤️ by Xanadu.

Stay updated with our newsletter

For researchers

  • Research
  • Features
  • Demos
  • Compilation
  • Datasets
  • Performance
  • Learn
  • Videos
  • Documentation
  • Teach

For learners

  • Learn
  • Codebook
  • Teach
  • Videos
  • Challenges
  • Demos
  • Compilation
  • Glossary

For developers

  • Features
  • Documentation
  • API
  • GitHub
  • Datasets
  • Demos
  • Compilation
  • Performance
  • Devices
  • Catalyst

© Copyright 2025 | Xanadu | All rights reserved

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

Privacy Policy|Terms of Service|Cookie Policy|Code of Conduct