[Paper Review] Formal Verification of Quantum Protocols
This paper proposes the first formal verification framework for quantum protocols using process calculus (CCS) and model checking via the CWB-NC tool. It models the BB84 quantum key distribution protocol and proves via trace equivalence that the protocol is secure against eavesdropping—BB84 is equivalent to a specification, while an attacked version with an eavesdropper (Eve) is not.
We propose to analyse quantum protocols by applying formal verification techniques developed in classical computing for the analysis of communicating concurrent systems. One area of successful application of these techniques is that of classical security protocols, exemplified by Lowe's discovery and fix of a flaw in the well-known Needham-Schroeder authentication protocol. Secure quantum cryptographic protocols are also notoriously difficult to design. Quantum cryptography is therefore an interesting target for formal verification, and provides our first example; we expect the approach to be transferable to more general quantum information processing scenarios. The example we use is the quantum key distribution protocol proposed by Bennett and Brassard, commonly referred to as BB84. We present a model of the protocol in the process calculus CCS and the results of some initial analyses using the Concurrency Workbench of the New Century (CWB-NC).
Motivation & Objective
- To apply formal verification techniques from classical concurrent systems to quantum cryptographic protocols.
- To eliminate ambiguities in informal protocol descriptions through rigorous mathematical modeling.
- To detect security flaws in quantum protocols early in the design phase using automated analysis tools.
- To establish a foundation for verifying complex quantum information systems with both classical and quantum components.
- To enable automated debugging of protocol behavior by comparing system traces against desired specifications.
Proposed method
- Model the BB84 protocol using the process calculus CCS with binary parameters for qubit values and bases.
- Represent quantum channels as two-state processes: Empty (ready to receive) and Full (contains a qubit) with actions put and get.
- Model measurement outcomes using nondeterministic choice: correct basis yields correct bit, wrong basis yields 0 or 1 nondeterministically.
- Use synchronization actions (go, reveal) to enforce correct protocol sequencing between Alice and Bob.
- Define a specification process (Spec) that captures the ideal behavior: Bob keeps only bits matching Alice’s sent value when bases match.
- Model an eavesdropper (Eve) who measures qubits with a guessed basis and resends them, introducing potential bit flips.
Experimental results
Research questions
- RQ1Can formal methods from classical concurrent systems be adapted to verify quantum protocols?
- RQ2Does the BB84 protocol behave as expected under ideal conditions, as captured by a formal specification?
- RQ3Can automated model checking detect interference by an eavesdropper in a quantum protocol?
- RQ4Is the presence of an eavesdropper detectable through trace equivalence analysis?
- RQ5Can the framework be extended to analyze more complex attacks, such as coherent or collective attacks?
Key findings
- The BB84 protocol model is trace equivalent to the specification process (Spec), confirming correct behavior under ideal conditions.
- The attacked protocol (BB84′) with an eavesdropper is not trace equivalent to Spec, indicating detectable deviations.
- CWB-NC identifies the trace choose(0)keep(1) as possible in BB84′ but not in Spec, demonstrating Eve’s ability to alter the key.
- The modal μ-calculus property ⟨⟨choose(0)⟩⟩⟨⟨keep(1)⟩⟩true holds for BB84′ but not for BB84, confirming eavesdropping interference.
- The verification process is fully automated and requires no human intervention after model and property definition.
- The approach enables early detection of security flaws and provides actionable insights through trace analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.