The standard attack on this raw trapdoor construction chooses a candidate digital signature first, computes , and uses a failure of preimage resistance to find with . Then
so verifies. The resulting message is selected by the inversion procedure, rather than being an arbitrary prescribed document. This is an existential forgery under a key-only signature attack whenever the inversion weakness applies with nonnegligible success to those sampled digests.
The phrase “fails to be preimage resistant” must be read with its target distribution. Since is a permutation, uniform gives a uniform -bit digest; if inversion works only on a tiny identifiable exceptional set, this sampling method need not be feasible. Merely knowing a valid signed message and recovering that same message from its digest is not a new forgery. Producing a different message there requires a failure of second-preimage resistance. Part solution removes the coverage qualification by explicitly granting inversion at every digest.
Use the Rado graph on the natural numbers. Interpret the binary relation by
The relation is symmetric by its definition, and is always false. Thus this first-order structure satisfies and .
To verify an extension axiom, take distinct . Choose a natural number larger than every and put
The powers are distinct, so there are no carries in this binary representation. In particular for every , and the bit in position is one exactly when . Therefore is different from all the given vertices, is adjacent to , and is not adjacent to the others. If the are not distinct, the antecedent of the extension axiom is false, so it places no restriction. The case , if included in the convention for natural numbers, simply asks for a nonempty domain, which this first-order structure has.
For example, prescribing adjacency to and and nonadjacency to permits and , whose binary representation is . This explicitly realizes the required pattern. Hence
Reordering a tuple makes the extension axioms applicable to any two disjoint finite sets of vertices, with any desired adjacency and nonadjacency pattern. This is the extension property defining the theory of the random graph.
Use uniform balanced binary sequence sampling by choosing the positions of the heads. Number the positions from zero to . Start with no selected positions. Repeatedly toss the fair coin times, interpret the resulting bits as a position, and select that position if it has not already been selected; otherwise discard this block of tosses and retry. Stop when distinct positions have been selected. Put heads at those positions and tails everywhere else.
After positions have been selected, every one of the remaining positions has the same probability of being the next new position. This follows either by summing a geometric series over rejected blocks or by conditioning a uniform distribution on a finite set on avoiding the selected positions. Every ordered list of distinct selected positions consequently has probability
Each fixed -element subset has such orders, so its probability is
Thus every balanced binary sequence is equally likely.
When positions are selected, a block succeeds with probability , so the geometric distribution gives expectation blocks until the next new position. By linearity of expectation, the total expected toss count is
The strict inequality holds since , making each term less than two. A Boolean array records membership of each position; initializing it and constructing the output require additional work. The scheme terminates with probability one, since every stage has positive success probability.
Set . Independently sample an edge coloring exactly as in part (d), count its monochromatic copies of by examining all four-vertex subsets, and accept precisely when . Otherwise start over with a fresh edge coloring.
To prove an expected polynomial time bound, the existence argument alone is insufficient: we need a lower bound on the acceptance probability at this exact threshold. Since is a nonnegative integer with expectation , rejection implies . Markov's inequality therefore gives the integer-valued expectation threshold restart bound
The number of attempts has a geometric distribution, with expectation at most . Sampling the edge coloring costs random bits, and checking all four-vertex subsets costs operations, since only six edges must be tested per subset. Hence
This is a randomized algorithm that always returns an edge coloring meeting the original threshold and terminates with probability one. The stated operation count uses -bit counters; counting their bit complexity explicitly introduces at most a further logarithm factor and still gives polynomial time. For , return any edge coloring immediately.
Order the edges arbitrarily and fix their colours one at a time. After a partial assignment , regard all unassigned edges as independent fair red/blue choices, and compute
The conditional expectation of a monochromatic clique count is easy to compute. For each four-vertex subset , let be the number of its six edges still unassigned. Its contribution to is
In the second case, every remaining edge must match the already fixed colour; this includes a completely fixed monochromatic copy, for which and the contribution is one. In the last case, the six unassigned edges may become either all red or all blue. By linearity of expectation,
For the next unassigned edge , compute and . The law of total expectation gives
Choose the colour with the smaller value, resolving a tie by a fixed rule. At least one is at most their average, so the loop invariant is that never increases. Initially ; once every edge is fixed, there is no randomness left and . Therefore the method of conditional expectations guarantees
A direct implementation recomputes both sums over all four-vertex subsets for each of the edges, requiring arithmetic operations. The comparisons can be exact: every contribution is a multiple of , so store as an integer with bits. This gives bit complexity with elementary arithmetic, and hence a deterministic polynomial time construction. No random sampling is performed by this derandomization.
Charlie cannot send a bit to Alice with the stated preparation, fixed interaction and final local measurements. Write and , so the complete gate is with the rightmost gate acting first. Alice has finished interacting before the gate involving Charlie acts.
For arbitrary product input density matrices, put . The final reduced density matrix of Alice is
The equality follows because a unitary operator on the traced-out systems leaves the partial trace unchanged. The right-hand side is independent of Charlie's preparation. Therefore every outcome probability of every local measurement by Alice is independent of Charlie's message. Quantum no-signalling applies after Alice's last interaction, even though phase kickback can allow communication between the two qubits of an individual CNOT gate.
Prepare Bob in and encode the bit using Alice's preparation . The controlled-NOT gate gives
Bob measures in the computational basis and reads with probability one. Alice's final measurement is unnecessary. The interaction transmits a classical bit; it does not clone an arbitrary unknown qubit.
Alice cannot send a bit to Charlie either. An argument based only on the apparent chronological chain would be insufficient: Alice interacts with Bob before Bob interacts with Charlie. The extra fact is that these particular gates commute.
In Bob's computational basis the complete gate is
Both controlled-NOT gates preserve Bob's control label, and their target operations act on different systems. Thus . We may consequently regard Bob–Charlie as the first interaction and Bob–Alice as the last one. The final operation on cannot change Charlie's reduced density matrix, and Charlie's earlier state cannot depend on Alice's initially separate preparation.
The target no-signalling in a common-control unitary formula makes the independence explicit:
Alice's density matrix does not appear. The formula includes arbitrary complex initial amplitudes and every final measurement on Charlie. This conclusion uses the specified pair of gates; a general intervening operation on Bob could change the communication possibilities.
Either experiment is possible. In the sequential experiment choose . The first computational basis measurement on returns a uniform bit and prepares . The Pauli X gate changes it to , so the second result is always opposite. The two possible records have probabilities .
In the two-qubit experiment choose the fixed pure state
The Born rule gives the same two possible records, again with probability each. The observed computational basis anticorrelation alone does not identify whether the correlation was generated sequentially or shared between two qubits.
Charlie's Hadamard basis measurement, Alice's Bell-basis measurement and communicated correction bits give deterministic GHZ-assisted quantum teleportation. Let the unknown input be . Charlie measures in the Hadamard basis and labels by , by . The identity
shows that is conditionally a Bell pair with phase label . Charlie sends that one classical bit to Bob. The procedure for localizing a Bell pair from a GHZ state supplies precisely the missing conditional information; forgetting leaves the mixed reduced state of the preceding part.
Alice performs the usual Bell-basis measurement on . Operationally, she applies , applies , and measures and in the computational basis, obtaining bits . She sends both bits to Bob. To track the correction without a convention ambiguity, conditional on the normalized state on is
Projecting Charlie's factor onto his recorded Hadamard basis state gives Bob, up to the global phase ,
Consequently the inverse Pauli correction is
Bob applies first and second. The measurements on Charlie and on Alice commute because they act on different systems, so deriving the conditional state with Alice's measurement first gives the same protocol as Charlie measuring first. Each triple has probability , independent of the unknown input, and every triple succeeds after correction.
Figure 1.
Three classical bits complete GHZ-assisted teleportation
. Original protocol diagram for a previously distributed GHZ resource on A, B and C. Alice performs CNOT from Q to A, then H on Q and Z-basis readout of Q and A. Charlie performs H followed by Z-basis readout, equivalent to X-basis measurement. Bob receives s, t and c, applies X to the power t, then Z to the power s XOR c. The dashed lines carry classical bits. Details.
This uses one previously shared GHZ state, two classical bits from Alice and one from Charlie, with no quantum transmission during the transfer. The standard Bell-measurement/Pauli-correction mechanism was established in the original quantum teleportation proposal.[ref] Here Charlie's record supplies the Bell-pair phase, giving a controlled quantum teleportation protocol. Alice's input is consumed by her measurement; Bob reconstructs its state without learning and without making a second surviving copy.
Let denote the conditional winning probability in the CHSH game. With both settings zero, computational-basis measurements of the Bell state always agree, so . When just one setting is one, Bob's conditional pure state from part (i), or the corresponding calculation with Alice and Bob exchanged, gives agreement probability . Hence .
For , winning requires different output bits. Alice obtains each of her two outcomes with probability . Given her first outcome, Bob's desired overlap is
given her second outcome, the other desired overlap is . Thus . Averaging over the four equally likely inputs gives
The maximum winning probability for noncommunicating classical players is , the game form of the CHSH inequality. Setting , strict improvement requires , or . On the stipulated interval this gives
The endpoints give equality with the classical bound. Within this reflected real-basis CHSH strategy, the maximum is at , namely ; this follows by completing the square in .
Use deterministic two-qubit entanglement dilution, retaining the specified complex probability amplitudes. Alice implements a quantum instrument on with Kraus operators
The Kraus representation completeness condition holds even for complex :
To realize this using the permitted quantum gates and a basic measurement, Alice initializes an ancilla qubit to . Conditional on her computational-basis state being , she applies to the unitary matrix
Each has orthonormal columns. Therefore is a unitary gate, with
A computational-basis measurement of implements the desired quantum instrument. Its two unnormalized branches on are
Each has probability . Alice sends her outcome as one classical bit. For , both parties keep their qubits unchanged. For , both apply a Pauli X gate, giving
Thus both outcomes produce the exact target using one classical bit and local operations. The construction includes or and arbitrary relative quantum phases; it requires no quantum channel between the parties.
Combine the hypothetical protocol with superdense coding. Before a message is chosen, Alice and Bob share a further Bell pair , with at Alice and at Bob, in addition to any resources needed for the hypothetical quantum teleportation protocol. To encode two classical bits , Alice applies the Pauli gates , preparing
The four choices are the four mutually orthogonal Bell states. Alice now uses the hypothetical protocol to teleport to Bob using only one classical bit. Its assumed preservation of the joint quantum state gives Bob both and in
Bob performs a Bell-basis measurement. Explicitly, a controlled-NOT gate , followed by a Hadamard gate on , gives
A computational-basis measurement therefore recovers both message bits with certainty after only one transmitted classical bit. The initial Bell pairs are shared before the message is chosen and carry no message themselves. This proves the classical communication lower bound for exact qubit teleportation: a perfect protocol preserving an external reference needs at least two transmitted classical bits.
Alice holds the input qubit in and her half of a shared Bell pair ; Bob holds . Alice applies a controlled-NOT gate , then a Hadamard gate on . In the system order , the initial quantum state is
After these two quantum gates, direct expansion yields the quantum teleportation identity
Alice performs computational-basis measurements on , and sends the two classical bits to Bob. Each outcome has probability , independently of the input pure state. Bob applies the indicated Pauli gates: first , then , so his total correction is . In every branch,
This proves exact quantum teleportation using one Bell pair and two classical bits. Alice's original qubit has been measured; the protocol transfers the quantum state without leaving her another copy.
Reference-distribution ambiguity: is not defined in the paper. If it is an arbitrary probability mass function, the printed inequality is false. For instance, choose and . Every empirical distribution equals , making the printed left side one bit and its right side zero. This is a counterexample for every .
Under the consistent interpretation , the preceding leave-one-out identity for empirical distributions and convexity of relative entropy in its first argument give, for every sample,
Deleting any one observation from independent and identically distributed random variables leaves independent observations with probability mass function . Consequently each has the same distribution as . They need not be independent of one another. Taking expected values and using linearity of expectation therefore proves
Zero coordinates of are never sampled, almost surely, so the calculation can be restricted to its probability support. In particular the expected values are finite on this finite alphabet.
The discrepancy cannot be removed by silently choosing any fixed reference. Whenever is positive on the probability support of , direct subtraction and give the expected relative entropy decomposition
Thus the valid arbitrary-reference version has on both sides; the printed mixed-reference version has an additional term whose sign prevents the proposed conclusion.
For a discrete memoryless channel with transition probabilities , the conditional probability of a length- output given a length- input factors as
The same transition probabilities apply at each use. Its channel capacity is
The unit is bits per channel use. For finite alphabets the maximum exists by continuity on the probability simplex; with more general alphabets one uses a supremum when appropriate.
An channel code consists of an encoder and a decoder . It represents each of messages by input symbols and recovers a message from the observed output symbols. Its code rate is bits per use. For each message , its conditional error probability is ; an average error also specifies the message probability distribution, while the maximum error takes the largest conditional error.
Choose noise values , giving exactly the outputs . The transition matrix, in that column order, is
An input probability mass function makes outputs equiprobable, so and . Hence bit per use, as required for comparison with the four-output case.
There is a strict improvement, which can also be computed exactly. Reflection of the input labels , accompanied by output reflection , leaves mutual information unchanged. Concavity of information entropy makes mutual information a concave function of the input probability mass function for a fixed transition matrix. Averaging an input law with its reflection therefore cannot decrease it. It suffices to consider
The outputs whose labels are even integers have total mass and conditional probability mass function , with information entropy . The outputs whose labels are odd integers have mass and conditional probability mass function , with information entropy one. Splitting first by output parity using the chain rule for information entropy yields
Its derivative is , and its second derivative is negative. The unique maximum occurs at , giving
This additional optimization explains the collision pattern: outputs identify input , outputs identify the two extreme inputs, and only output is ambiguous.
Figure 1.
Three original additive-noise channel diagrams: increasing noise separation changes output collisions and channel capacity
. Details.
Translate the output alphabet by and put . The reachable outputs become
For the two sets overlap in two points; for in one; for they are disjoint. In particular , and choosing noise values attains four.
With rows indexed by inputs and columns by outputs , independence and uniform two-point noise give
Every conditional output distribution has information entropy one bit, so . The input probability mass function makes all four outputs equiprobable, attaining that bound. Thus
Using a zero-probability input in a channel-capacity maximization is legitimate; it is unrelated to the strictly positive source weights needed for the tree-shape claims in Question 2.
For every input probability mass function, conditional entropy is nonnegative, so
Taking the maximum over input laws proves bit per channel use. This bound comes from the binary input alphabet itself; no specific transition probabilities or decoder are needed.
There are two possible messages and three channel uses, giving
Conditional on either transmitted message, a decoding error occurs exactly when at least two of the three bits are flipped. The discrete memoryless channel makes these flips independent, each with probability . Their count therefore has a binomial distribution with parameters . Majority-vote decoding of a repetition code gives
Interchanging the two bit values leaves the binary symmetric channel and majority decision unchanged, so as well. Both the maximum conditional error and the average error, for any message prior, are therefore . The probability of correct decoding for each message is . These are finite-block error probabilities; a channel-capacity statement alone would not determine them.