A sequence length of N cliffords actually has N+1 Cliffords because of the inverting operation. With the current model, the error from the inverting Clifford is included in the SPAM estimate. This PR changes the model such that the inverting Clifford is taken into account in the sequence length, and the SPAM estimate does not include the error from the inverting Clifford anymore.
A sequence length of N cliffords actually has N+1 Cliffords because of the inverting operation. With the current model, the error from the inverting Clifford is included in the SPAM estimate. This PR changes the model such that the inverting Clifford is taken into account in the sequence length, and the SPAM estimate does not include the error from the inverting Clifford anymore.