Circuit bootstrapping is a TFHE-specific bootstrapping variant that homomorphically evaluates a decryption circuit and a programmable lookup table in a single operation, producing a refreshed ciphertext with minimal noise. Unlike standard bootstrapping, which only resets the noise budget, circuit bootstrapping simultaneously applies a univariate function encoded in
Glossary
Circuit Bootstrapping

What is Circuit Bootstrapping?
Circuit bootstrapping is a specialized TFHE operation that evaluates an arbitrary lookup table while simultaneously refreshing a ciphertext to a low-noise state, enabling composable function evaluation on encrypted bits.
Key Features of Circuit Bootstrapping
Circuit bootstrapping is a composable TFHE primitive that evaluates a lookup table while simultaneously refreshing ciphertext noise, enabling the evaluation of subsequent operations without decryption.
Functional Bootstrapping
The core mechanism that distinguishes circuit bootstrapping from standard noise reduction. It homomorphically evaluates a Look-Up Table (LUT) encoded in the bootstrapping key. This transforms an encrypted input message into an encrypted output message according to an arbitrary univariate function f(x), while simultaneously resetting the noise budget to a fixed low level. This enables the evaluation of non-linear activation functions directly on encrypted data.
Composability
Unlike leveled FHE where operations consume a finite noise budget, circuit bootstrapping produces a refreshed ciphertext with a guaranteed noise level. This output can immediately serve as input for another bootstrapping operation. This property enables the construction of arbitrarily deep circuits without the noise accumulation that causes decryption failure, making it essential for complex encrypted control flow and iterative algorithms.
Programmable Look-Up Tables
The bootstrapping procedure evaluates a univariate function encoded as a look-up table. This allows the direct homomorphic evaluation of functions that are difficult to approximate with polynomials, such as:
- Sign function and step functions
- ReLU and other activation functions
- Rounding and quantization operations
- Arbitrary boolean gates (AND, OR, XOR) on encrypted bits
Vertical Packing
A throughput optimization technique that encodes multiple independent LUT evaluations into a single bootstrapping operation. By packing several plaintext values into the slots of a single RLWE ciphertext and applying a multi-output LUT, circuit bootstrapping can evaluate the same function on multiple encrypted inputs simultaneously. This dramatically improves the amortized cost per operation in batched inference scenarios.
Gate Bootstrapping vs. Circuit Bootstrapping
Gate bootstrapping (TFHE's foundational operation) evaluates a single binary gate and produces a ciphertext suitable only for further gate operations. Circuit bootstrapping extends this by producing a ciphertext with a low-noise encoding compatible with leveled operations (additions, multiplications) before the next bootstrap. This bridges the gap between fast boolean circuits and arithmetic operations, enabling mixed-circuit evaluation.
External Product Dominance
The computational cost of circuit bootstrapping is dominated by the external product between an RLWE ciphertext and a precomputed Bootstrapping Key (BSK). The BSK encrypts the secret key under itself in a GSW-like format. Optimizing this external product—through hardware acceleration or algorithmic improvements like multi-bit PBS—is the primary focus for reducing latency in production FHE deployments.
Frequently Asked Questions
Circuit bootstrapping is a critical extension of TFHE that enables the evaluation of multi-output lookup tables and the composition of arbitrary functions on encrypted data. Below are the most common technical questions about its mechanism, performance, and role in privacy-preserving computation.
Circuit bootstrapping is a TFHE-specific cryptographic technique that simultaneously evaluates a multi-output lookup table (LUT) on an encrypted input while refreshing the ciphertext's noise budget to a fixed low level. Unlike standard programmable bootstrapping, which outputs a single encrypted bit, circuit bootstrapping produces a vector of encrypted bits representing the LUT's output. The mechanism works by homomorphically evaluating the decryption circuit of the input ciphertext, extracting the phase, and using it to index into an encrypted lookup table. The output ciphertexts are refreshed to a noise level low enough to serve as inputs to subsequent operations, enabling composable function evaluation without noise accumulation. This process leverages the external product with a bootstrapping key and key-switching operations to transform the noisy input into clean output ciphertexts suitable for further homomorphic computation.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Master the cryptographic primitives and operations that surround circuit bootstrapping in the TFHE ecosystem.
Noise Budget
The finite capacity for error accumulation within a ciphertext. Every homomorphic operation, especially multiplication, consumes this budget. Circuit bootstrapping is the mechanism that resets this budget.
- Analogy: Think of it as a signal-to-noise ratio that degrades with each operation.
- Exhaustion: Once the noise overwhelms the message, decryption returns garbage.
- Reset Mechanism: Circuit bootstrapping homomorphically evaluates the decryption circuit to produce a fresh ciphertext with a full noise budget, enabling unlimited computation depth.
Ciphertext Packing & SIMD
Techniques that encode multiple plaintext values into a single ciphertext to enable Single Instruction Multiple Data (SIMD) parallelism. Circuit bootstrapping interacts with packing by allowing operations on individual slots.
- Throughput: Packing thousands of values into one ciphertext dramatically improves amortized performance.
- Slot Manipulation: Circuit bootstrapping can be used to extract or manipulate specific slots without decrypting the entire packed vector.
- Trade-off: Packing is standard in schemes like CKKS, but TFHE's circuit bootstrapping enables bit-precise operations on packed data.
Key Switching
A cryptographic operation that transforms a ciphertext encrypted under one secret key into a ciphertext encrypting the same message under a different key. It is a fundamental building block used inside circuit bootstrapping.
- Relinearization: A specific key-switch that reduces ciphertext size after multiplication.
- Bootstrapping Role: The bootstrapping procedure internally uses key-switching to convert between the encryption keys used for the blind rotation and the final output.
- Security: Requires public evaluation keys (key-switching keys) that do not reveal the underlying secret keys.
Functional Bootstrapping vs. Circuit Bootstrapping
A critical distinction in TFHE literature. Functional bootstrapping (or programmable bootstrapping) outputs a ciphertext encrypting f(m) with reduced noise, while circuit bootstrapping outputs a ciphertext encrypting the same message m but with a specific, low-noise format suitable for subsequent operations.
- Output Format: Circuit bootstrapping specifically produces a ciphertext with minimal noise variance, often converting from a TLWE to a TRLWE or TRGSW sample.
- Composability Goal: The primary goal is to enable the output to be used directly in further leveled operations without immediate re-bootstrapping.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us