Simulating Mølmer-Sørensen leakage (replace gate with identity) in Deltakit Stim?
Quantum Computing SEArchived Jun 02, 2026✓ Full text saved
To simulate leakage errors I'm using Riverlane's Deltakit-Stim (a fork of Stim with leakage support). This uses a depolarising leakage model: if a qubit leaks, it fully depolarises and any qubit it subsequently interacts with (via a two-qubit gate) also becomes fully depolarised (i.e. in Stim apply DEPOLARIZE1(0.75) or X_ERROR(0.5) then Z_ERROR(0.5) -- both of which send the qubit to the maximally mixed state). As explained nicely in Natalie Brown et al.'s paper , Mølmer-Sørensen gates are often
Full text archived locally
✦ AI Summary· Claude Sonnet
Simulating Mølmer-Sørensen leakage (replace gate with identity) in Deltakit Stim?
Ask Question
Asked 8 days ago
Modified 6 days ago
Viewed 80 times
1
To simulate leakage errors I'm using Riverlane's Deltakit-Stim (a fork of Stim with leakage support).
This uses a depolarising leakage model: if a qubit leaks, it fully depolarises and any qubit it subsequently interacts with (via a two-qubit gate) also becomes fully depolarised (i.e. in Stim apply DEPOLARIZE1(0.75) or X_ERROR(0.5) then Z_ERROR(0.5) -- both of which send the qubit to the maximally mixed state).
As explained nicely in Natalie Brown et al.'s paper, Mølmer-Sørensen gates are often the two-qubit gates in ion traps however doing a Mølmer-Sørensen gate between a leaked and non-leaked qubit does not mean fully depolarise the non-leaked qubit. Instead, the two-qubit gate is replaced with the identity. More precisely it means replace the two-qubit Mølmer-Sørensen rotation with the identity while any single-qubit corrections still gets applied. For example, as per the diagram below, the
XX
−
−
−
√
=XX(π / 4)
𝑋
𝑋
=
𝑋
𝑋
(
𝜋
/
4
)
gate would not get applied but the single-qubit corrections which were there to turn it into a CNOT gate would still get applied to the non-leaked qubit.
My question is, how can I model this sort of leakage with Deltakit-Stim? Where any subsequent two-qubit gate is just replaced with the identity (and optionally with extra single-qubit corrections applied too)?
.
stimstabilizer-codeleakage
Share
Improve this question
Follow
edited May 25 at 23:32
asked May 25 at 11:46
drumadoir
3571
1 silver badge
7
7 bronze badges
Add a comment
1 Answer
Sorted by:
Highest score (default)
Date modified (newest first)
Date created (oldest first)
0
Currently this noise model can only be approximated through a depolarising model of leakage because eliminating gates conditionally based on a qubit being in a non computational state (such as leakage) is not supported. It would take some careful engineering to ensure that Stim's shot level parallelism is maintained in the presence of shot specific conditions on gate execution.
What would be needed is support for conditional gate erasure, where some operations (e.g. two qubit Cliffords) are removed when a qubit is leaked while others (e.g. single qubit Cliffords) are still applied. Our initial thinking in this area has primarily focused on atom loss style models (for AMO-based noise models), where all gates acting on a lost qubit are erased. Extending this to more selective gate removal – like dropping only two qubit gates but retaining single qubit operations – would require additional functionality.
This isn't part of our immediate roadmap, but we'd be happy to discuss your use case further if helpful – feel free to reach out (mark.turner AT riverlane.com).
Share
Improve this answer
Follow
answered May 27 at 16:16
Mark Turner
16
New contributor
Ok thanks Mark! –
drumadoir
Commented
May 28 at 1:10
Add a comment
Your Answer
Post Your Answer
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Ask question
Explore related questions
stimstabilizer-codeleakage
See similar questions with these tags.
The Overflow Blog
Best of the Heap: First post of the...
What it takes to be a player in the international AI...
Featured on Meta
Native Ads Coming To Comments
Linked
2
Get Deltakit Stim working with Sinter to simulate leakage errors?
Related
1
Support for Qubit Leakage Errors in Stim
4
Equivalent
[[n,k,d]]
[
[
𝑛
,
𝑘
,
𝑑
]
]
codes and transversal gates
0
Threshold value when simulating erasures with stim
2
Does Stim support the Mølmer–Sørensen gate?
4
Simulating the surface code with stim: meaning of qubit coordinates
1
Simulating multiple logical qubits with stim
3
Simulating erasures with stim
0
How can I reset a qubit with a given probability after applying a gate in STIM?
2
Non-deterministic detectors when simulating Floquet code
2
Get Deltakit Stim working with Sinter to simulate leakage errors?
Hot Network Questions
Failed to Lchown: for UID 304185, GID 89939 (Hint: try increasing the number of subordinate IDs in /etc/subuid and /etc/subgid)
Installing new light fixture in place of old - wiring doesn't make sense
Is there a way to have Firefox not use gnome on Kubuntu?
scope freezing in double object constructions
What to prepare for a job interview that I'm going conduct
more hot questions
Question feed
By continuing to use this website, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. By exiting this window, default cookies will be accepted. To reject cookies, select an option from below.
Customize settings
Cookie consent preference center
When you visit any of our websites, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences, or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and manage your preferences. Please note, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
Cookie policy
Accept all cookies
Manage consent preferences
Strictly Necessary Cookies
Always Active
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
Targeting Cookies
Targeting Cookies
These cookies are used to make advertising messages more relevant to you and may be set through our site by us or by our advertising partners. They may be used to build a profile of your interests and show you relevant advertising on our site or on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device.
Performance Cookies
Performance Cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
Functional Cookies
Functional Cookies
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
Cookie List
Clear
checkbox label label
Apply Cancel
Consent Leg.Interest
checkbox label label
checkbox label label
checkbox label label
Necessary cookies only Confirm my choices