Finite random oracles for native quantum executions #
Quantum.RandomOracle.sample draws one complete finite Boolean table outside an experiment.
Quantum.RandomOracle.runWith specializes this operation to an existing native quantum
controller: the coherent device handler and the classical service factory receive the same table
for the complete adaptive run.
The coherent operation is the existing XOR oracle unitary
|x, y⟩ ↦ |x, y + H(x)⟩. These definitions only package finite eager-table semantics around that
operation. Drawing the table is not asserted to be efficient and is not charged to the native
controller. The controller's elementary-gate, coherent-query, measurement and classical-service
costs remain the separate existing resources.
This module does not establish a lazy/coherent equivalence, an unbounded or variable-length random oracle, reprogramming, extraction, one-way-to-hiding, query depth, gate approximation, equivalence with arbitrary QPPT adversaries or a protocol security theorem.
Main definitions #
Cslib.Quantum.RandomOracle.sample: sample one table outside a finite experiment.Cslib.Quantum.RandomOracle.runWith: run one native controller with shared coherent and classical access to the sampled table.
Main results #
Cslib.Quantum.RandomOracle.sample_eq: the sampler is exactly one outer uniform table draw.Cslib.Quantum.RandomOracle.sample_const: an experiment that does not inspect the table is unchanged.Cslib.Quantum.RandomOracle.runWith_eq: the controller wrapper is exactly one outer table draw followed by the existing fixed-table execution.
References #
- R. de Wolf, Quantum Computing: Lecture Notes, Section 15.1, p. 128.
Draw one complete table before running the supplied finite experiment. Every use made by
experiment therefore sees the same table. This is ideal semantics, not an efficient sampler.
Sample one finite oracle, then execute the existing native controller. The service factory
receives the same H as deviceWordHandler, so coherent and classical calls cannot redraw it
inside this wrapper.
The sampled controller is exactly an outer uniform table draw followed by the existing
fixed-table execution. In particular, the service closure and every coherent query share H.