Home / Interview questions / Quantum computing

Interview questions

Quantum computing interview questions: 63 to prepare for

Each question says why it is likely to come up, from what today’s 273 open quantum computing postings ask for, and what a good answer shows. Prepare a real example for each, then practise it with the interview answer builder.

questions to prepare
63
open quantum computing jobs today
273
postings read in full
62
median advertised pay
$165K

Checked Nov 25 against employer career pages

Practise out loudThe page reads each question aloud and checks your answer. This site keeps nothing.

Questions

Questions about the skills quantum computing postings name

  1. Walk me through a recent project where you used Python. What did you do yourself?

    44% of today’s 273 open quantum computing postings name Python.

    A good answer shows: Your own hands-on part, the choices you made and a number for the result.

    Sample answer: “In my last role I wrote a compiler pass in Python that cut two-qubit gate counts by 22% across 40 benchmark circuits. I did that part myself: I chose how to do it, checked the result and explained it to the team.” Then say what you would do differently.

  2. What is a mistake people often make with Optics, and how do you avoid it?

    27% of today’s 273 open quantum computing postings name Optics.

    A good answer shows: That you have used it long enough to know where it goes wrong.

    Sample answer: “The mistake I see most with Optics is copying what worked somewhere else without checking that it fits the case in front of you. I try it on a small example first and write down what I expect before I look at the result. On my last team that habit cut the rework from about 10 cases a month to 2.” Name a mistake you have really seen.

  3. How would you explain Machine Learning to someone who has never used it?

    15% of today’s 273 open quantum computing postings name Machine Learning.

    A good answer shows: That you understand it well enough to make it simple.

    Sample answer: “I would leave the terms out and say in one sentence what Machine Learning is for. Then I would show one small example from my own work and let the person try it. I taught 3 new colleagues this way, and each did a first task alone within 2 weeks.” Use an example the listener already knows.

  4. Tell me about a problem with Project management that took you a long time to solve.

    13% of today’s 273 open quantum computing postings name Project management.

    A good answer shows: How you narrowed the problem down, and what you would do faster next time.

    Sample answer: “One problem with Project management kept coming back for about 3 weeks, because it showed up only now and then. I wrote down every case, changed one thing at a time and found the cause in the one step all the cases shared. Next time I would start that list on day one and ask a colleague after 2 days, not 2 weeks.” End with what you changed so that it does not come back.

Technical quantum computing interview questions and answers

  1. What does len([4, 8, 15]) return?

    A Python question (44% of today’s postings name Python). More in the Python skill test.

    Answer: 3. len counts the items in a list: there are three.

  2. What is the difference between a list and a tuple?

    A Python question.

    Answer: A list can be changed after it is made, a tuple cannot. Lists are mutable (changeable); tuples are immutable.

  3. What does a list comprehension such as [x * 2 for x in nums] do?

    A Python question.

    Answer: Builds a new list with every item doubled. It is a short way to write a loop that builds a new list. The original list is not changed.

  4. What is the result of "7" + "3"?

    A Python question.

    Answer: "73". Adding two strings joins them. To add the numbers, convert them first with int().

  5. Which statement catches an error so the program can carry on?

    A Python question.

    Answer: try / except. Code that may fail goes in try; the except block says what to do when it does.

  6. For word = "python", what does word[1:4] return?

    A Python question.

    Answer: "yth". A slice starts at the first index and stops just before the second, and counting starts at 0. word[-1] is the last letter and word[::-1] reverses the string.

  7. In a class, what is __init__ for?

    A Python question.

    Answer: It sets up each new object, such as its starting attributes. Car("red") calls __init__ with self set to the new car. self is the object itself, so self.color = color stores the color on that car.

  8. a = {1, 2, 3} and b = {2, 3, 4}. What is a & b?

    A Python question.

    Answer: {2, 3}. & keeps what is in both sets, | joins them and - keeps what is only in the first. Checking whether a value is in a set is also much faster than searching a long list.

  9. people is a list of dictionaries with an "age" key. What does sorted(people, key=lambda p: p["age"]) do?

    A Python question.

    Answer: Returns a new list of the same people, youngest first. key tells sorted what to compare for each item; add reverse=True for oldest first. sorted returns a new list, while people.sort(key=...) changes the list itself and returns None.

  10. What does class Manager(Employee): mean?

    A Python question.

    Answer: Manager inherits everything Employee has and can add to it or change it. This is inheritance: a Manager is an Employee with extras. super().__init__(...) runs the parent’s set-up from inside the child.

  11. a = [[1, 2], [3, 4]] and b = a.copy(). After b[0].append(9), what is a?

    A Python question.

    Answer: [[1, 2, 9], [3, 4]]. copy() makes a new outer list but shares the inner lists, so a change inside one shows in both. copy.deepcopy copies the inner lists too, while plain b = a copies nothing at all.

  12. What does a decorator such as @functools.lru_cache, written above a function, do?

    A Python question.

    Answer: Wraps the function to add behavior; lru_cache remembers past results. A decorator is a function that takes a function and returns a new one. Common uses are caching, logging, timing and checking access.

  13. What is Git?

    A Git question (12% of today’s postings name Git). More in the Git skill test.

    Answer: A system that records versions of your files. Git tracks every saved version of a project on your own machine. GitHub and GitLab are websites that host Git repositories.

  14. What does git commit -m "Fix login" do?

    A Git question.

    Answer: Records the staged changes in history with that message. A commit is a saved snapshot of what was staged. It stays on your machine until you push it.

  15. What is a branch in Git?

    A Git question.

    Answer: A movable pointer to a commit, so work can go on separately. Creating a branch is cheap because it is only a pointer. It moves forward with each new commit you make on it.

  16. When does a merge conflict happen?

    A Git question.

    Answer: When both sides changed the same lines and Git cannot choose. Git combines changes in different places by itself. It stops only when the same part of a file changed in two ways.

  17. What does git revert abc123 do?

    A Git question.

    Answer: Makes a new commit that undoes that commit. History stays intact, which makes revert the safe way to undo something that has already been shared.

  18. You must change branch but your work is not ready to commit. What helps?

    A Git question.

    Answer: git stash. git stash puts your changes aside and leaves a clean working folder. git stash pop brings them back.

  19. You add secret.env to .gitignore, but Git still tracks it. Why?

    A Git question.

    Answer: .gitignore only affects files that are not tracked yet. Remove it from tracking with git rm --cached secret.env. If it held a real secret, change the secret, because it remains in the history.

  20. You reset a branch by mistake and the commits seem lost. What can find them?

    A Git question.

    Answer: git reflog. The reflog lists where HEAD has been on your machine. Find the commit id there, then create a branch from it or reset back to it.

Quantum computing questions and answers

  1. What is the difference between T1 and T2 for a qubit?

    What it checks: whether you know the two basic ways a qubit loses its information.

    A good answer shows: T1 as energy loss to the ground state, T2 as loss of phase, and the fact that T2 can be no longer than twice T1.

    Sample answer: T1 is how long a qubit stays in its excited state before it relaxes to the ground state. T2 is how long it keeps a well-defined phase in a superposition. Relaxation also destroys phase, so T2 is at most twice T1. I measure T1 with an inversion recovery, T2* with a Ramsey experiment and T2 with a Hahn echo.

  2. Walk me through preparing a Bell state and checking that you got it.

    What it checks: your hands-on grasp of entanglement and of how a quantum state is verified.

    A good answer shows: A Hadamard and a CNOT, then checks in more than one basis, since 00 and 11 counts alone do not prove entanglement.

    Sample answer: I start both qubits in 0, apply a Hadamard to the first and a CNOT with the first as control. Ideally that gives 00 plus 11, over root two. Measuring in the standard basis should give about half 00 and half 11, but a classical mix would too. So I also measure in the X and Y bases, or run state tomography, to confirm the phase and estimate fidelity.

  3. If you cannot copy a qubit, how does quantum error correction work at all?

    What it checks: whether you understand the core idea behind protecting quantum information.

    A good answer shows: Information spread across many qubits, and errors found by measuring parities with helper qubits, never by measuring the data itself.

    Sample answer: The no-cloning theorem forbids copying an unknown state, so we encode it instead: one logical qubit is spread across many physical qubits. Helper qubits measure parity checks, called stabilizers, which reveal which error happened without revealing the stored state. In a surface code, if physical errors are below threshold, a larger code lowers the logical error rate.

  4. Your circuit needs CNOTs between qubits that are not neighbors on the chip. What happens, and how do you limit the cost?

    What it checks: how you think about mapping a circuit onto real hardware.

    A good answer shows: Knows the compiler inserts SWAPs, each usually three CNOTs, and reduces them through layout, routing and circuit design.

    Sample answer: The compiler routes the interaction by inserting SWAP gates, and each SWAP usually costs three CNOTs, which adds depth and error. I choose an initial layout that puts the most connected logical qubits side by side, ideally on the pairs with the best two-qubit fidelity, compare routing settings, and where I can, rewrite the algorithm to fit the chip's connectivity.

  5. Your results lean toward 0 on every qubit. How do you handle readout error?

    What it checks: whether you can separate measurement error from errors in the circuit itself.

    A good answer shows: Calibrates readout with known states, corrects with a confusion matrix, and reports both the raw and the corrected numbers.

    Sample answer: A lean toward 0 often means qubits relax during readout. I prepare known basis states and measure them to build a confusion matrix, per qubit if crosstalk is small, for the full register if not. I correct the counts with a constrained fit so no probability goes negative, report raw and corrected results side by side, and recalibrate often, because readout drifts.

  6. How would you measure the error rate of a two-qubit gate?

    What it checks: your knowledge of the standard way gate quality is benchmarked.

    A good answer shows: Randomized benchmarking, interleaved RB to isolate one gate, and why the method is robust to preparation and measurement error.

    Sample answer: I would run randomized benchmarking: random sequences of Clifford gates of growing length, each ending with the inverse so the ideal result is known. Survival probability decays with length, and the decay rate gives an average error per Clifford, separate from preparation and measurement errors. To isolate one gate, I use interleaved RB, inserting it between the random gates.

  7. A colleague says Grover's algorithm will make our database search exponentially faster. How do you respond?

    What it checks: whether you can correct an overclaim with the right facts.

    A good answer shows: Grover gives a quadratic speedup on unstructured search, and oracle cost, data loading and error correction overhead can erase it.

    Sample answer: Grover gives a quadratic speedup: about the square root of N oracle calls instead of about N for unstructured search. That is real but modest. The oracle must run as a quantum circuit, loading the data can cost as much as the search, and error correction adds heavy overhead per step. For an indexed database, a classical lookup already beats it.

  8. Your variational algorithm stalls and the gradients are near zero from the first step. What is going on and what do you try?

    What it checks: how you diagnose a common failure in near-term quantum algorithms.

    A good answer shows: Names barren plateaus and shot noise, and tries a shallower or problem-aware circuit, local cost functions and better starting points.

    Sample answer: It may be a barren plateau: with deep, random-like circuits or a cost spread over all qubits, gradients shrink exponentially as qubits are added. I check whether gradients are below shot noise. Then I try a shallower, problem-inspired circuit, a local cost function, starting parameters near identity, and growing the circuit one layer at a time.

  9. One qubit's T1 dropped from 90 to 35 microseconds overnight. How do you find the cause?

    What it checks: your troubleshooting method on real hardware.

    A good answer shows: Repeats and tracks the measurement, checks neighbors, frequency and fridge logs, and flags the qubit before others rely on it.

    Sample answer: I repeat it over a few hours, since a material defect called a two-level system can drift close to the qubit's frequency and pull T1 down. If neighbors dropped too, I check fridge temperature, wiring and shielding. If only this qubit, I scan T1 against frequency and, on a tunable qubit, move it away from the defect. Meanwhile I flag it in the calibration notes.

  10. Your result beats a simple classical baseline and leadership wants to call it quantum advantage. What do you do?

    What it checks: your scientific honesty when results meet pressure to claim more.

    A good answer shows: Compares against the best classical methods at the same accuracy, invites scrutiny, and words the claim to match what was shown.

    Sample answer: I would not call it advantage yet. Beating a simple baseline is not enough: we need to compare against the best classical methods, such as tensor networks or tuned heuristics, at the same accuracy and with a fair compute budget. I would share data and code with classical experts, state the limits plainly, and propose wording that matches what we actually showed.

  11. Walk me through where the quantum Fourier transform does the real work in Shor's algorithm.

    What it checks: whether you understand Shor's algorithm beyond the headline.

    A good answer shows: Factoring reduces to finding a period. The QFT reveals that period, and the rest is classical number theory.

    Sample answer: Factoring N reduces to finding the period r of a^x mod N. We compute that function on a superposition of x. The QFT then turns the periodic pattern into peaks near multiples of 1/r. Continued fractions recover r. If r is even and a^(r/2) is not -1 mod N, a gcd gives a factor.

  12. What is the difference between a coherent error and a stochastic error, and why does it matter for a deep circuit?

    What it checks: your understanding of how different kinds of noise build up over many gates.

    A good answer shows: Coherent errors add in amplitude, so error probability can grow quadratically. Twirling turns them into stochastic Pauli noise.

    Sample answer: A coherent error is a small, repeatable unitary mistake, like over-rotating by the same angle every time. Over n gates the angles add, so the error probability can grow like n squared. Stochastic errors add roughly linearly in probability. Randomized compiling, or Pauli twirling, scrambles coherent errors into stochastic noise that is easier to predict and to correct.

  13. What is leakage in a transmon, and why do error correction people worry about it so much?

    What it checks: whether you know a transmon is not a perfect two-level system.

    A good answer shows: Population leaves 0 and 1, often to state 2. It is not a Pauli error, it lingers and spreads, so it needs its own fixes.

    Sample answer: A transmon is a weakly anharmonic oscillator, so a fast pulse can push some population into state 2. A standard decoder assumes errors on a qubit, not a missing qubit. Leaked states also last and spread through two-qubit gates. I use DRAG pulse shaping to cut leakage, a readout that tells 2 apart from 1, and leakage reduction steps in the error correction cycle.

  14. A gate benchmarks well on its own but gets worse when neighboring qubits run at the same time. What is going on?

    What it checks: how you diagnose crosstalk on a real chip.

    A good answer shows: Simultaneous versus isolated benchmarking, then checks for residual ZZ coupling, drive crosstalk and frequency collisions.

    Sample answer: I compare isolated and simultaneous randomized benchmarking to confirm it. Then I measure residual ZZ coupling: the qubit's frequency shifts depending on whether its neighbor is in 0 or 1. I also look for drive leaking to neighbors and frequency collisions. Fixes: set a tunable coupler to null ZZ, retune frequencies, add echoes, or schedule those gates apart.

  15. How do you check that your compiler's output circuit does the same thing as the input?

    What it checks: whether you verify compiled circuits instead of trusting the toolchain.

    A good answer shows: Unitary comparison up to global phase for small circuits, simulation or formal checks for bigger ones, and care with the final qubit layout.

    Sample answer: For a few qubits I compare the two unitaries up to a global phase. For larger circuits I run both on random input states in a simulator, or use an equivalence checker. The classic bug is the qubit layout: SWAPs inserted by routing move logical qubits, so the outputs must be permuted back before comparing.

  16. When would you use zero-noise extrapolation versus probabilistic error cancellation, and what does each cost?

    What it checks: your grasp of error mitigation and its limits.

    A good answer shows: ZNE is cheap but can be biased. PEC is unbiased with a good noise model, but its sampling cost grows exponentially with circuit noise.

    Sample answer: Zero-noise extrapolation runs the circuit at amplified noise, by folding gates or stretching pulses, and fits back to zero. It is cheap, but the fit can be biased. Probabilistic error cancellation inverts a learned noise model by sampling. It is unbiased if the model is right, but shots grow exponentially with total circuit noise. I keep PEC for small, shallow circuits.

  17. A teammate's result reaches 99% fidelity, but only after discarding shots that failed a check. How do you report it?

    What it checks: your honesty about post-selection in reported results.

    A good answer shows: Report the acceptance rate next to the fidelity, say it is conditional, and show how the rate scales with size.

    Sample answer: Post-selection is fine if it is stated. I would report the fidelity as conditional on passing the check and give the fraction of shots kept, with error bars on both. I would also show how the kept fraction falls as the circuit grows, since it often drops exponentially. A 99% that keeps 5% of shots tells a different story than one that keeps 90%.

  18. What does code distance mean for the surface code, and why can a bigger code make things worse?

    What it checks: whether you understand distance and threshold in error correction.

    A good answer shows: Distance d corrects up to (d-1)/2 errors. Below threshold, logical errors fall as distance grows; above it, they rise.

    Sample answer: Distance is the fewest physical errors that can cause a logical error without being caught. So a distance-d code corrects up to (d-1)/2 errors, rounded down. Below threshold, the logical error rate falls roughly like (p/p_th) to the power (d+1)/2. Above it, a bigger code just has more places to fail, so logical errors go up with distance.

  19. Why are T gates the expensive part of a fault-tolerant algorithm?

    What it checks: your understanding of fault-tolerant resource costs.

    A good answer shows: No code has a universal transversal gate set, so T gates come from magic state distillation, which costs many qubits and cycles.

    Sample answer: The Eastin-Knill theorem says no error-correcting code can have a universal set of transversal gates. In the surface code, Clifford gates are relatively cheap. The T gate is supplied by injecting a magic state and distilling it, for example 15 noisy states in, one better state out. That is why we count T gates and T-depth when we estimate what an algorithm really costs.

  20. Your real-time decoder is slower than the syndrome rate of the chip. Why is that a problem, and what do you do?

    What it checks: whether you see decoding as part of the machine, not an afterthought.

    A good answer shows: A slow decoder builds a backlog that stalls feed-forward steps like T gates. Fixes: faster or parallel decoding and Pauli frame tracking.

    Sample answer: Syndromes arrive every QEC round, about a microsecond on superconducting chips. If decoding is slower, a backlog grows. Any step that needs a decoded result, like the correction after a T gate, waits on it, and the run stalls. I would track Pauli frames in software, use a fast decoder on an FPGA, and split the work with sliding-window or parallel decoding.

Trades and technical work questions and answers

  1. How do you make sure a job is done safely?

    What it checks: safety as a habit.

    A good answer shows: Checks before starting, and stopping when something is wrong.

    Sample answer: I check the area, the tools and the lockout before I start, every time. If something is not right I stop and say so; a late job can be explained and an injury cannot.

  2. Tell me about a fault that was hard to find.

    What it checks: your way of troubleshooting.

    A good answer shows: From the symptom, step by step, one change at a time.

    Sample answer: A machine stopped at random. I checked power, sensors and wiring in that order and found a connector that failed only when warm. I replaced it and logged it for the next person.

  3. How do you check the quality of your own work?

    What it checks: pride in the result.

    A good answer shows: Against the drawing or the standard, measured, before someone else has to.

    Sample answer: I measure against the drawing before I call it done and note the readings. Finding my own error costs minutes; someone else finding it costs a day.

  4. What do you do when the drawing or the instruction is wrong?

    What it checks: judgement and communication.

    A good answer shows: You stop, ask and get the change in writing.

    Sample answer: I stop and call the engineer or the supervisor with a photo of the problem. The change is written on the drawing before I go on, so the next job is built right too.

  5. How do you plan your work when everything is urgent?

    What it checks: organization.

    A good answer shows: What stops others first, and an honest time for the rest.

    Sample answer: The job that stops other people or the line comes first. For the rest I give a time I can keep and say so early if it moves.

Questions

Questions about the work itself

  1. How do you approach quantum algorithms? Walk me through an example from your last job.

    One of the core duties of quantum computing work.

    A good answer shows: A real example: what you did yourself, the steps in order and the result with a number.

  2. What is the hardest part of qubit calibration for you, and how do you handle it?

    Another core duty.

    A good answer shows: An honest difficulty and the habit or method that makes it work.

Questions

Questions about how you work

  1. Tell me about a time a rule or regulation slowed your work down. What did you do?

    68% of today’s 62 open quantum computing postings with a full description mention compliance or regulation.

    A good answer shows: That you followed it and still delivered, not that you went around it.

  2. How much are you able to travel for work?

    52% of today’s 62 open quantum computing postings with a full description mention travel.

    A good answer shows: An honest number of days or share of time, so there are no surprises after the offer.

  3. Have you helped someone else get better at their work? What did you do?

    47% of today’s 62 open quantum computing postings with a full description mention mentoring.

    A good answer shows: A specific person and skill, how you taught it and how they did afterwards.

  4. Describe a project you delivered with people from other teams. What was your part?

    40% of today’s 62 open quantum computing postings with a full description ask for work across teams.

    A good answer shows: Your own part, how you kept the teams in step and the result.

  5. Tell me about a difficult conversation with a customer and how it ended.

    26% of today’s 62 open quantum computing postings with a full description ask for work with customers.

    A good answer shows: That you listened, kept your promise and what the customer did next.

  6. Tell me about a time the goal was unclear. What did you do first?

    21% of today’s 62 open quantum computing postings with a full description mention ambiguity.

    A good answer shows: That you asked the right questions or took a small first step instead of waiting for clarity.

Questions

Questions almost every interview has

  1. Tell me about yourself.

    Almost every interview opens with it.

    A good answer shows: Under a minute: your current work as a quantum engineer, one result with a number and why this job is the next step. Not your whole resume.

  2. Why do you want to work here?

    It tests whether you read about the company.

    A good answer shows: Something specific: a product, a goal from the posting or a problem you can help with.

  3. Why are you leaving your current job?

    It checks for problems you might bring along.

    A good answer shows: What you are moving towards, said briefly, with no criticism of your employer.

  4. What are your salary expectations?

    Only 51% of today’s quantum computing postings state pay, so be ready to name a figure.

    A good answer shows: A range you can defend. Today’s 136 quantum computing postings that state a yearly US-dollar range advertise a median of $165K; the middle half $137K to $200K. Ask for their range first if you can.

  5. What is one of your weaknesses?

    A classic, still asked.

    A good answer shows: A real weakness that does not block this job, and what you do about it.

  6. Do you have any questions for us?

    The last question of almost every interview.

    A good answer shows: Two or three questions you prepared; the list below has some.

Questions

Questions to ask them

What would make someone in this role successful in the first six months?
It shows you think about results, and the answer tells you what the job really is.
Why is this role open?
A new role, growth or someone leaving: each tells you something different.
What is the pay range for this role?
Only 51% of today’s quantum computing postings state one; asking is normal.
How will my work be measured, and how often will we review it?
You learn what matters to your manager before you start.
What are the next steps, and when will you decide?
You know when to follow up, and you can plan around other offers.

Questions

Questions about a quantum computing interview

What questions are asked in a quantum computing interview?
Questions about the skills the postings name (Python, Optics, Machine Learning), about how you work (compliance and regulation, travel, mentoring) and the questions almost every interview has, such as “Tell me about yourself” and your salary expectations.
How should I answer quantum computing interview questions?
With a real example: the situation, what you had to do, what you did yourself and the result, with a number. This is the STAR method; aim for 60 to 90 seconds an answer.
How do I prepare for a quantum computing interview?
Prepare three real stories with a number each (a result, a problem you solved, work with other people), practise them out loud for 60 to 90 seconds, and revise the skills the postings name most: Python, Optics, Machine Learning. Read the posting again the day before: the duties it lists are what they will ask about.
Is a quantum computing interview hard?
It depends on the level: today’s quantum computing postings ask for 5 years of experience at the median. Most interviews mix questions about the skills in the posting with questions about how you work; the technical part is easier with a real example ready for each skill.
What salary should I ask for as a quantum engineer?
Today’s 136 quantum computing postings that state a yearly US-dollar range advertise a median of $165K. Adjust for your experience and the country, and ask for their range first.

Career

Prepare with

Directory

Everything about quantum computing work

Counted from the open postings on Nov 25, 2026, read from employers’ own careers pages and recounted on every update. The questions are ours; no employer’s interview is copied here.