Measurement pattern (source code)

= Measurement pattern

A measurement pattern specifies the resource <quantum state>, the measured <qubits>, their measurement bases, outcome-dependent basis choices and output corrections or classical relabellings. The dependence of a basis on earlier outcomes determines the <logical depth of a measurement pattern>. Preparing the resource and processing the final classical results are separate costs.