REVIEW 2 major objections 1 minor
A pre-expectation framework reasons about quantum program preconditions without upper bounds, so expected runtime can be analyzed even when it may be infinite.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · grok-4.5
2026-07-15 05:21 UTC pith:RMR3RILC
load-bearing objection Abstract-only claim of a bound-free quantum pre-expectation calculus for expected runtime (incl. infinite); useful if the preservation theorems hold, but we cannot check them yet. the 2 major comments →
Quantum Weakest Preconditions Revisited: Pre-expectations for Expected Runtime Analysis
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Quantum weakest preconditions can be recast as a pre-expectation calculus that does not demand an upper bound on the quantities of interest, thereby supporting expected-runtime analysis of quantum programs (including those with rewards and those whose expected runtime may be infinite) via transformations that reduce runtime questions to weakest pre-expectation calculations.
What carries the argument
The novel pre-expectation framework for quantum programs (together with a program transformation that encodes expected runtime via reward statements so that weakest pre-expectation calculus applies directly).
Load-bearing premise
The program transformation and reward encoding must preserve the true expected runtime of the original quantum program, including when that expectation is infinite.
What would settle it
Exhibit a concrete quantum program whose true expected runtime (computed by other means) differs from the weakest pre-expectation obtained after the proposed reward transformation, especially on an instance with infinite expected runtime.
If this is right
- Expected runtime of quantum programs can be stated and reasoned about inside a weakest pre-expectation calculus without first proving finiteness.
- Reward statements become a systematic device for turning runtime questions into pre-expectation questions.
- Programs whose expected runtime diverges can still be analyzed rather than excluded by an upper-bound hypothesis.
- Several alternative routes to the same analysis become available once the pre-expectation framework is in place.
Where Pith is reading between the lines
- The same bound-free pre-expectation style may transfer to other quantitative properties of quantum programs (energy, entanglement cost) that can be encoded as rewards.
- Classical expected-runtime calculi that already use rewards may serve as a template for verifying soundness of the quantum transformation.
- Tool builders could implement the transformation as a front-end that reuses existing quantum weakest-precondition engines for runtime queries.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript (available only as an abstract) revisits quantum weakest preconditions for expected-runtime analysis of quantum programs. It claims a novel pre-expectation framework that reasons about preconditions without requiring an upper bound, motivated by programs with reward statements and by the need to handle potentially infinite expected runtime. Several approaches are announced, including a program transformation that encodes expected runtime so that it can be recovered from a weakest pre-expectation calculus with rewards.
Significance. If the framework is sound and the announced transformation correctly preserves expected runtime (including the infinite case), the work would extend classical pre-expectation techniques to quantum programs without artificial upper bounds and would give a usable tool for runtime analysis of non-terminating or infinite-expectation quantum programs. That would be a solid contribution to quantum program verification. The abstract alone, however, supplies no definitions, theorems, or examples with which to assess whether those claims hold.
major comments (2)
- Only the abstract is available for review. The central load-bearing claim—that a program transformation encodes expected runtime into rewards so that the weakest pre-expectation of the transformed program equals the true expected runtime even when that expectation is infinite—cannot be checked: there are no definitions of the pre-expectation operators, no statement of the transformation, and no soundness or preservation theorems. Assessment of correctness is therefore impossible on the supplied material.
- The abstract asserts that the framework works “without the need of an upper bound” and handles “potentially infinite expected runtime.” Without the body it is impossible to verify whether the operators are well-defined on unbounded or infinite expectations, whether the fixed-point characterizations remain valid, or whether the reward encoding is faithful in the infinite case. These points are essential to the paper’s main contribution and must be established formally before acceptance can be considered.
minor comments (1)
- The abstract is clear on motivation but does not name the concrete quantum programming language, the precise form of reward statements, or the relationship to existing quantum weakest-precondition calculi; those details should appear early in the full manuscript for positioning.
Circularity Check
No circularity can be established from the abstract alone; this is a definitional formal-methods paper with no exhibited self-definitional reductions or fitted predictions.
full rationale
Only the abstract is available. It claims a novel pre-expectation framework for quantum programs that avoids upper bounds, enabling expected-runtime analysis (including infinite cases) via a program transformation that encodes runtime with rewards so that weakest pre-expectation yields the expected runtime. No equations, definitions of the operators, statements of the transformation, soundness theorems, or citations appear in the provided material. Consequently no step can be shown to reduce by construction to its inputs (self-definitional, fitted-input-as-prediction, load-bearing self-citation, uniqueness import, ansatz smuggling, or renaming). The work is a formal-methods contribution rather than an empirical fitting exercise; residual risk that the preservation claim is definitional rather than proved cannot be checked without the body and does not constitute exhibited circularity under the rules. Score 0 with empty steps is the correct honest finding.
Axiom & Free-Parameter Ledger
axioms (3)
- domain assumption Quantum programs have a well-defined denotational or operational semantics in which expected runtime (possibly infinite) is meaningful.
- domain assumption Weakest preconditions / pre-expectations can be extended with reward statements so that accumulated cost equals expected runtime.
- ad hoc to paper A program transformation exists that preserves expected runtime when encoding it into rewards for the pre-expectation calculus.
invented entities (2)
-
Quantum pre-expectation framework without upper bound
no independent evidence
-
Program transformation encoding expected runtime via rewards
no independent evidence
read the original abstract
Quantum weakest preconditions are a fundamental tool for program verification of quantum programs. Many variations have been reported in the literature. We revisit quantum weakest preconditions from the perspective of expected runtime analysis of quantum programs and introduce a novel pre-expectation framework that enables to reason about the preconditions of quantum programs without the need of an upper bound. This is particularly interesting for quantum programs involving reward statements. The overall goal is to analyze runtime behavior even in the case of programs with potentially infinite expected runtime. This paper presents several ways to do so, e.g., a program transformation such that the expected runtime of a quantum program can be expressed using the weakest pre-expectation calculus with rewards.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.