QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
HomeLearnCatalogRanksPlaygroundDocs
01 · Circuit cutting0%

You are reading without signing in. Sign in or continue as guest to take quizzes and climb the ranks.

Learn/QC 302Cutting and Quantum ML·Lesson 1 of 7

Circuit cutting

Cut a gate, run the halves, recombine: the sampling overhead and when it pays off.

Advanced14 min read3 sections · 2 questions+45
By the end you will be able to
  1. 01Explain a gate cut as a quasi-probability decomposition.
  2. 02Compute the sampling overhead for k cuts.
  3. 03Work out what a cut of a small circuit costs and returns.

A two-qubit gate that straddles two groups of qubits can be replaced by a weighted sum of products of single-qubit operations on each side. Each term is a circuit you can run on a smaller device; the weights can be negative, which is why it is a quasi-probability decomposition. Expectation values of the original circuit are recovered exactly, on average, from the sub-circuit results.

CNOT=i∑​ci​Ai​⊗Bi​,γ=i∑​∣ci​∣=3,shots∝γ2k=9k
One cut costs 9× the shots for the same variance; two cuts 81×; three 729×. Cutting is for a few cuts on circuits that otherwise would not fit at all.
Worked solution
Cut a GHZ in half

A four-qubit GHZ circuit (H on q0, then CNOTs q0→q1, q1→q2, q2→q3) must run on devices of two qubits. We want ⟨ZZII⟩ and ⟨IIZZ⟩.

  1. 1Split the qubits into {q0, q1} and {q2, q3}. Only the CNOT q1→q2 crosses the split, so one gate cut is enough.
  2. 2The cut CNOT becomes a weighted sum of local operations on each half, with γ = 3. Every term is a pair of two-qubit circuits.
  3. 3Shots for the same precision grow by γ² = 9 for one cut.
  4. 4In a GHZ state neighbouring qubits always agree, so the exact values are ⟨ZZII⟩ = ⟨IIZZ⟩ = 1. The weighted halves reproduce these on average.

Answer: One cut, 9× the shots, and both expectation values come back as 1 (up to shot noise). QubitLab explains cutting but does not run it on the shared server; qiskit-addon-cutting does it on your own machine.

Knowledge check

2 questions · one try each counts

Question 1

With three gate cuts, roughly how many more shots are needed for the same precision?

Sign in to answer and climb the ranks; you will come back to this lesson.

Question 2

What does cutting give you back?

Sign in to answer and climb the ranks; you will come back to this lesson.

Key takeaway

Cutting trades width for shots: each CNOT cut multiplies the shot budget by nine but lets a circuit run on a device half its size, returning unbiased expectation values.

Finished reading?

Knowledge check: 2 questions waiting above. Questions are optional. Mark it complete, or press Next: moving on marks it complete too.

Up next
Lesson 2 · 12 min
Classical ML vs. Quantum ML: The Hybrid Loop
How a neural network and a variational quantum model learn, side by side, and an honest look at when QML helps.
Further reading
  • Docs: circuit cutting
More in Cutting and Quantum ML
  • Variational circuits
  • Data encoding
  • Hands-On 2-Qubit Variational Classifier
Error correction in one lessonClassical ML vs. Quantum ML: The Hybrid Loop
In this lesson0%
  1. Introduction
  2. Knowledge check
  3. Key takeaway
QubitLab
IDELearnPlaygroundDocsCommunity
Log in
QubitLab
IDELearnPlaygroundDocsCommunity
Log in