Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Sensing and timekeeping

What can a closed comparison loop establish without an absolute time reference?

Three clock comparisons can reveal an inconsistent link

Source research checked . Teaching calculations are ideal models.

A pairwise clock comparison reports a relative offset. With three clocks and three pairwise measurements, the numbers should close around the loop if they represent consistent offsets at the same time. Adding B minus A to C minus B should reproduce C minus A. A nonzero closure signals inconsistency in the comparison set.

The lab first calculates that closure and its uncertainty under independent edge errors. It then fixes clock A as an arbitrary zero and fits the two remaining offsets by weighted least squares. The fitted comparisons close exactly, while residuals show how the original observations depart from one consistent set of clock values. The weights express the relative uncertainties assigned to the links.

A failed closure cannot, by itself, identify which clock or transfer path is responsible. A common offset shared by every clock can also escape the loop entirely. These limits make the example useful for an article about networked clocks or time transfer: internal consistency and accuracy against an external reference are different achievements. The coordinate choice A equals zero is bookkeeping, not a claim that A is the truth.

Synthetic decision model

Start with the assumptions

  • Comparisons refer to one common epoch.
  • Edge errors are independent with known standard uncertainties.
  • Clock A is fixed to zero only to choose a reference coordinate.

Loop closure = measured(B-A) + measured(C-B) - measured(C-A)

Independent closure uncertainty = sqrt(s_AB²+s_BC²+s_AC²)

Weighted least-squares offsets solve (X^T W X) beta = X^T W y

Synthetic three clock comparisons can reveal an inconsistent link plot: Relative offset, nanoseconds versus Clock comparison.
Synthetic baseline case. Horizontal axis: Clock comparison. Vertical axis: Relative offset, nanoseconds. Curves show Observed, Consistent fit. These are computed teaching examples, not measured hardware results.

Compare the input regimes

Each case uses invented inputs. The results follow from this model and do not describe measured hardware.

Baseline regime
Complete inputs
Measured B minus A, nanoseconds
4
Measured C minus B, nanoseconds
3
Measured C minus A, nanoseconds
7
Edge standard uncertainties, nanoseconds
0.4, 0.7, 0.5
  1. If all comparisons reflected consistent offsets, (B-A) + (C-B) - (C-A) would equal zero. The observed closure is 0 nanoseconds.
  2. With independent edge errors, closure uncertainty is sqrt(s_AB²+s_BC²+s_AC²) = 0.948683. The standardized closure is 0.
  3. Fix clock A as the arbitrary zero and solve weighted least squares for B and C. The fitted offsets are 4 and 7; residuals are 0, -8.88178e-16, -8.88178e-16.
Baseline regime · synthetic calculated results
Calculated quantitySynthetic result
Observed loop closure, nanoseconds0
Loop standard uncertainty, nanoseconds0.948683298051
Closure / standard uncertainty0
Fitted B offset relative to A, nanoseconds4
Fitted C offset relative to A, nanoseconds7
Weighted residual sum of squares4.76536383562e-30
Weighted fit residuals
ComparisonObserved, nsStandard uncertainty, nsResidual, ns
B − A40.40
C − B30.7-8.881784197e-16
C − A70.5-8.881784197e-16

The loop detects inconsistent comparisons but cannot identify the responsible clock or link by itself. A shared calibration offset can evade the loop entirely, and correlated transfer errors change its uncertainty. Fixing A to zero is a coordinate choice, not evidence that clock A is accurate against an external time standard.

Comparison regime
Complete inputs
Measured B minus A, nanoseconds
5
Measured C minus B, nanoseconds
2.5
Measured C minus A, nanoseconds
9
Edge standard uncertainties, nanoseconds
0.5, 0.7, 0.5
  1. If all comparisons reflected consistent offsets, (B-A) + (C-B) - (C-A) would equal zero. The observed closure is -1.5 nanoseconds.
  2. With independent edge errors, closure uncertainty is sqrt(s_AB²+s_BC²+s_AC²) = 0.994987. The standardized closure is -1.507557.
  3. Fix clock A as the arbitrary zero and solve weighted least squares for B and C. The fitted offsets are 5.378788 and 8.621212; residuals are -0.378788, -0.742424, 0.378788.
Comparison regime · synthetic calculated results
Calculated quantitySynthetic result
Observed loop closure, nanoseconds-1.5
Loop standard uncertainty, nanoseconds0.994987437107
Closure / standard uncertainty-1.50755672289
Fitted B offset relative to A, nanoseconds5.37878787879
Fitted C offset relative to A, nanoseconds8.62121212121
Weighted residual sum of squares2.27272727273
Weighted fit residuals
ComparisonObserved, nsStandard uncertainty, nsResidual, ns
B − A50.5-0.378787878788
C − B2.50.7-0.742424242424
C − A90.50.378787878788

The loop detects inconsistent comparisons but cannot identify the responsible clock or link by itself. A shared calibration offset can evade the loop entirely, and correlated transfer errors change its uncertainty. Fixing A to zero is a coordinate choice, not evidence that clock A is accurate against an external time standard.

Extended regime
Complete inputs
Measured B minus A, nanoseconds
6.2
Measured C minus B, nanoseconds
1.9
Measured C minus A, nanoseconds
11.4
Edge standard uncertainties, nanoseconds
0.62, 0.7, 0.5
  1. If all comparisons reflected consistent offsets, (B-A) + (C-B) - (C-A) would equal zero. The observed closure is -3.3 nanoseconds.
  2. With independent edge errors, closure uncertainty is sqrt(s_AB²+s_BC²+s_AC²) = 1.060377. The standardized closure is -3.1121.
  3. Fix clock A as the arbitrary zero and solve weighted least squares for B and C. The fitted offsets are 7.328175 and 10.666275; residuals are -1.128175, -1.4381, 0.733725.
Extended regime · synthetic calculated results
Calculated quantitySynthetic result
Observed loop closure, nanoseconds-3.3
Loop standard uncertainty, nanoseconds1.06037729134
Closure / standard uncertainty-3.11209984119
Fitted B offset relative to A, nanoseconds7.32817502668
Fitted C offset relative to A, nanoseconds10.6662753469
Weighted residual sum of squares9.68516542156
Weighted fit residuals
ComparisonObserved, nsStandard uncertainty, nsResidual, ns
B − A6.20.62-1.12817502668
C − B1.90.7-1.43810032017
C − A11.40.50.733724653148

The loop detects inconsistent comparisons but cannot identify the responsible clock or link by itself. A shared calibration offset can evade the loop entirely, and correlated transfer errors change its uncertainty. Fixing A to zero is a coordinate choice, not evidence that clock A is accurate against an external time standard.

Try the reasoning: Would a shared offset in all clocks be visible in the loop closure? Explain what setting clock A to zero actually fixes.

Sources and model boundaries

  • Combining uncertainty components ↗

    Uncertainty propagation includes sensitivities and covariance; independent terms simplify the variance sum. Covariance, bias and distribution assumptions in the teaching models are declared separately; no NIST endorsement is implied.

Back to this lab in the catalog