PhD Student
Department of Electrical Engineering
Stanford University
Office: 472E Computing and Data Science (CoDa)
rsharma3 [at] stanford [dot] edu
Curriculum Vitae

I am a PhD student in Electrical Engineering at Stanford University, advised by Professor Sara Achour and Professor Mark Horowitz. I build domain-specific compilers for quantum computing, quantum simulation and sparse tensor algebra. My interests more broadly span compilers, computer architecture and hardware modeling.

During my PhD, I have interned twice at Google. In Summer 2026, I developed a scheduling language and an agent-based auto-scheduling framework for the Edge TPU compiler. In Summer 2025, I worked with the ODML team on KV-cache pruning techniques for infinite-context large language model inference on edge devices, in LiteRT-LM. Earlier, in Summer 2022, I was a research intern at IonQ, building efficient near-term error-correction implementations for Bacon-Shor codes.

I graduated from the Indian Institute of Technology (IIT) Delhi in 2021 with a degree in Electrical Engineering. At IIT Delhi, I was fortunate to be advised by Professor Debanjan Bhowmik and worked with Professor Gert Cauwenberghs at UCSD and Professor Niraj Jha at Princeton University on compute-in-memory hardware accelerators.

News

Publications

Runtime Compilation for Quantum Circuits with PQF-Enabled Rz Synthesis
Siddharth Dangwal, Christopher Kang, Jad Habhab, Ritvik Sharma, Frederic T. Chong, and Gokul Subramanian Ravi
arXiv preprint, November 2026
pdf
CoTenN: Constrained Optimization with Tensor Networks
Ritvik Sharma, Cheng Peng, Siddharth Dangwal, and Sara Achour
Conference on Programming Language Design and Implementation (PLDI), Volume 10, Issue PLDI, June 2026
pdf
FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow
Rubens Lacouture, Nathan Zhang, Ritvik Sharma, Marco Siracusa, Fredrik Kjolstad, Kunle Olukotun, and Olivia Hsu
International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Volume 2, March 2026
pdf
A Probabilistic Perspective on Tiling Sparse Tensor Algebra
Ritvik Sharma, Zi Yu Xue, Nathan Zhang, Rubens Lacouture, Fredrik Kjolstad, Sara Achour, and Mark Horowitz
IEEE/ACM International Symposium on Microarchitecture (MICRO), November 2025
pdf
Optimizing Ancilla-Based Quantum Circuits with SPARE
Ritvik Sharma and Sara Achour
Conference on Programming Language Design and Implementation (PLDI), June 2025
pdf
Compilation of Qubit Circuits to Optimized Qutrit Circuits
Ritvik Sharma and Sara Achour
Conference on Programming Language Design and Implementation (PLDI), June 2024
pdf
Onyx: A Programmable Accelerator for Sparse Tensor Algebra
Kalhan Koul, Maxwell Strange, Jackson Melchert, Alex Carsello, Yuchen Mei, Olivia Hsu, Taeyoung Kong, Po-Han Chen, Jake Ke, Keyi Zhang, Qiaoyi Liu, Gedeon Nyengele, Akhilesh Balasingam, Jayashree Adivarahan, Ritvik Sharma, Zhouhua Xie, Christopher Torng, Joel Emer, Fredrik Kjolstad, Mark Horowitz, and Priyanka Raina
IEEE Hot Chips Symposium (Hot Chips), August 2024
Onyx: A 12nm 756 GOPS/W Coarse-Grained Reconfigurable Array for Accelerating Dense and Sparse Applications
Kalhan Koul, Maxwell Strange, Jackson Melchert, Alex Carsello, Yuchen Mei, Olivia Hsu, Taeyoung Kong, Po-Han Chen, Jake Ke, Keyi Zhang, Qiaoyi Liu, Gedeon Nyengele, Akhilesh Balasingam, Jayashree Adivarahan, Ritvik Sharma, Zhouhua Xie, Christopher Torng, Joel Emer, Fredrik Kjolstad, Mark Horowitz, and Priyanka Raina
IEEE Symposium on VLSI Technology & Circuits (VLSI), June 2024
pdf
The Sparse Abstract Machine
Olivia Hsu, Maxwell Strange, Ritvik Sharma, Jaeyeon Won, Kunle Olukotun, Joel Emer, Mark Horowitz, and Fredrik Kjolstad
International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), March 2023
pdf
APEX: A Framework for Automated Processing Element Design Space Exploration using Frequent Subgraph Analysis
Jackson Melchert, Kathleen Feng, Caleb Donovick, Ross Daly, Ritvik Sharma, Clark Barrett, Mark Horowitz, Pat Hanrahan, and Priyanka Raina
Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), March 2023
pdf
CODEBench: A Neural Architecture and Hardware Accelerator Co-Design Framework
Shikhar Tuli, Chia-Hao Li, Ritvik Sharma, and Niraj Jha
ACM Transactions on Embedded Computing Systems (TECS), April 2023
pdf
Fast-QTrain: An Algorithm for Fast Training of Variational Classifiers
Siddharth Dangwal, Ritvik Sharma, and Debanjan Bhowmik
Quantum Information Processing, Volume 21, Issue 5, May 2022
pdf
A Crossbar Array of Analog-Digital-Hybrid Volatile Memory Synapse Cells for Energy-Efficient On-Chip Learning
Janak Sharda, Ritvik Sharma, and Debanjan Bhowmik
IEEE International Symposium on Circuits and Systems (ISCAS), May 2021
pdf
A 4.2-pJ/Conv 10-b Asynchronous ADC with Hybrid Two-Tier Level-Crossing Event Coding
Raj Kubendran, Jongkil Park, Ritvik Sharma, Chul Kim, Siddharth Joshi, Gert Cauwenberghs, and Sohmyung Ha
IEEE International Symposium on Circuits and Systems (ISCAS), May 2020
pdf

Talks

Masq and CoTenN: A Language and Compiler for Constrained Tensor Network Problems
Google Quantum AI, TN Weekly (Virtual), October 2026 (Invited talk)
Masq and CoTenN: A DSL and Compiler for Constrained Optimization with Tensor Networks
Portal Seminar, Stanford, October 2026 (Invited talk)
CoTenN: Constrained Optimization with Tensor Networks
PLDI 2026, Boulder, CO, June 2026 (Conference talk)
Quantum Compilation and Simulation
Portal Seminar, Stanford, November 2025 (Invited talk)
A Probabilistic Perspective on Tiling Sparse Tensor Algebra
MICRO 2025, Seoul, October 2025 (Conference talk)
Optimizing Ancilla-Based Quantum Circuits with SPARE
PLDI 2025, Seoul, June 2025 (Conference talk)
Compilation of Qubit Circuits to Optimized Qutrit Circuits
PLDI 2024, Copenhagen, June 2024 (Conference talk)

Teaching

EE 205: Signals and Systems
Spring 2020-2021, Indian Institute of Technology (IIT), Delhi
EE 205: Signals and Systems
Fall 2020-2021, Indian Institute of Technology (IIT), Delhi