Gidney's Understanding Defect Diagrams has been helpful to better understand defect diagrams. The pictures are cool, I'm just struggling to connect them to specific questions we can answer with them.
My key question is: what types of questions can you answer with a defect diagram? What is the workflow?
Q1: Is the following correct about the use cases and workflow of defect diagrams?
Use cases
- Validating operations -- as in here, operations like lattice surgery preserve some spacetime stabilizers. Thus, demonstrating that these spacetime stabilizers remain constant via defect diagrams is analogous to a proof of validity.
- Analyzing error strings in spacetime -- as in Figure 8 here, defect diagrams can be used to identify spacetime errors which cause logical errors / classify these errors.
Defect diagram workflow
- For each point in time, draw the defect diagram of the surface code. These will likely be deformed over time, in which case boundaries will change as time progresses.
- Through the computation, correlation surfaces can be identified. These surfaces represent stabilizers in spacetime, i.e. the product of the stabilizers at multiple times which should be constant.
- Correlation surfaces, like boundaries, will absorb some excitations but not others. Pauli errors of a different type than the surface will cause an incorrect measurement.
Q2: As seen in Figure 15, what types of questions can be answered / what is the workflow for this defect diagram?

