# US 2023/0291555 A1 · Cryptographic systems and non-deterministic random number generators based on quantum systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0291555 A1
- Document ID: US20230291555A1
- Status: Published application
- Kind: A1
- Application number: 18/180,835
- Filed: 2023-03-08
- Published: 2023-09-14
- Earliest claimed: 2020-09-09
- Assignees: Cambridge Quantum Computing Limited
- Applicants: Cambridge Quantum Computing Limited
- Inventors: Mario Berta; Florian Curchod; Cameron Foreman; Sherilyn Wright; Alec Edgington; Yui Chi Yeung; Hyejung Jee; Mafalda Ludovino Almeida; Matthew Hoban; Elizabeth Lee
- Web page: https://patentgrep.com/patent/US20230291555A1

## CPC

- H04L 9/0869: {involving random numbers or seeds}
- G06F 7/588: {Random number generators, i.e. based on natural stochastic processes}
- H04L 2209/26: Testing cryptographic entity, e.g. testing integrity of encryption key or encryption algorithm
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure relates to protocols and systems for generating random bit strings by amplifying weak bit strings using certified quantum random bit strings generated by measuring a quantum state of entangled photons. Some disclosed systems include a quantum apparatus comprising one or more quantum systems configured to generate entangled photons and measure their quantum state. Certain disclosed systems include one or more security tests, wherein at least one security test evaluates the quantum nature of the measurements using a Bell inequality. A randomness extractor can amplify the randomness of weak random strings using random strings certified by the security tests. The generated random bit strings may be used as cryptographic keys.

## Claims

### Claim 1

A system for providing a random bit string for use in one or more cryptographic applications, the system comprising:
a test system configured to receive a first random bit string having a first entropy and to perform a test using the first random bit string to confirm quantum behavior in generation of the first random bit string; and
a two-source randomness extractor configured to:
receive a first input comprising the first random bit string for which the test has confirmed quantum behavior in the generation of the first random bit string;
receive a second input comprising a second random bit string having a second entropy; and
generate and output a third random bit string derived from the first and second random bit strings, the third random bit string having a third entropy which has been amplified to be greater than both the first entropy and the second entropy.

### Claim 2 (depends on 1)

The system of claim 1, wherein the system is configured to receive the first random bit string over a public network from a source which is remote from the system, wherein the system is configured to authenticate communications including the first random bit string received from the source over the public network.

### Claim 3 (depends on 1)

The system of claim 1 wherein the test is a Bell test to confirm presence of quantum entanglement as part of the generation of the first random bit string, wherein the Bell test is evaluated against the Mermin inequality.

### Claim 4 (depends on 1)

The system of claim 1, wherein the test system is configured to determine a level of entropy in the first random bit string, and wherein the two-source randomness extractor is configured to use this determined entropy to generate the third random bit string having perfect entropy.

### Claim 5 (depends on 1)

The system of claim 1, wherein the first random bit string is derived from measurement of states prepared by a quantum device.

### Claim 6 (depends on 5)

The system of claim 5, wherein each of the states to be measured comprises 3 qubits, wherein each of the states to be measured is a Greenberger-Home-Zeilinger state.

### Claim 7 (depends on 5)

The system of claim 5, wherein the test system is configured to provide a measurement basis to the quantum device for making each state measurement, each measurement basis being taken from a set of multiple possible measurement bases, and wherein the test system uses the measurement bases and outcomes of the respective measurements of the states prepared by the quantum device to confirm quantum behavior in the generation of the first random bit string.

### Claim 8 (depends on 5)

The system of claim 5, wherein the test system is configured to perform multiple rounds of measurement of the state of the quantum device, wherein a number of rounds is at least 105, 106, 107 or 108.

### Claim 9 (depends on 1)

The system of claim 1, wherein the test system is configured to run a set of quantum circuits on a quantum computer, and wherein the quantum circuits are customized to run on a given quantum computer.

### Claim 10 (depends on 9)

The system of claim 9, wherein each quantum circuit is configured to: (i) prepare a state involving multiple qubits; (ii) perform a measurement on the prepared state, the measurement being taken from a set of multiple possible measurements; and (iii) output the measured state of the qubits at an end of the circuit as a measurement result.

### Claim 11 (depends on 1)

The system of claim 1, wherein the two-source randomness extractor is configured to receive n1 bits of the first random bit string and n2 bits of the second random bit string and to output m bits of the third random bit string, wherein m≤n1+n2.

### Claim 12 (depends on 1)

The system of claim 1, wherein the two-source randomness extractor is a strong extractor, such that the output of the strong two-source randomness extractor, namely the third random bit string, is independent of any one of the two inputs thereto, namely the first and second random bit strings, such that either the first random bit string or the second random bit string could be made public without compromising secrecy of the third random bit string.

### Claim 13 (depends on 11)

The system of claim 11, wherein the two-source randomness extractor is configured such that providing the first and second random bit strings have a combined min entropy rate of >1, the third random bit string will have perfect entropy.

### Claim 14 (depends on 13)

The system of claim 13, wherein the perfect entropy of the third random bit string is subject to a protocol error which reflects a probability that an adversary could distinguish the output from something that is perfectly uniformly distributed, wherein the probability is less than 2−32, less than 2−64, less than 2−128 or less than 2−256.

### Claim 15 (depends on 1)

The system of claim 1, further comprising a seeded randomness extractor which is configured to:
receive as a seed a first input comprising the third random bit string output by the two-source randomness extractor;
receive a second input comprising a fourth random bit string having a fourth entropy, wherein the fourth entropy is less than the third entropy; and
generate and output a fifth random bit string derived from the third and fourth random bit strings, wherein multiple fourth random bit strings are used in succession with the seed to produce multiple respective fifth random bit strings.

### Claim 16 (depends on 15)

The system of claim 15, wherein the seeded randomness extractor is a strong extractor, such that the output of the strong seeded randomness extractor, namely the fifth random bit string, is independent of any one of the two inputs thereto, namely the third and fourth random bit strings, such that multiple fifth random bit strings are produced from a seed in combination with multiple respective fourth random bits strings without compromising secrecy of the seed, and wherein a number of fifth random bits strings that are produced from the seed is limited by a security parameter.

### Claim 17 (depends on 16)

The system of claim 16, wherein the seed has perfect entropy, and wherein the perfect entropy of the seed is subject to a protocol error which reflects a probability that an adversary could distinguish the output from something that is perfectly uniformly distributed, wherein the probability is less than 2−32, less than 2−64, less than 2−128 or less than 2−256.

### Claim 18 (depends on 15)

The system of claim 15, wherein the system is configured to save the multiple fifth random bit strings into a database for use in creating cryptographic keys, where the database is included in said system.

### Claim 19 (depends on 15)

The system of claim 15, wherein at least one of the two-source randomness extractor and the seeded randomness extractor is implemented with complexity ≤O(n log(n)), using a number theoretic transform.

### Claim 20 (depends on 15)

The system of claim 15, wherein at least one of the two-source randomness extractor and the seeded randomness extractor is implemented as a Dodis extractor.

### Claim 21 (depends on 15)

The system of claim 15, wherein the two-source randomness extractor is the seeded randomness extractor or shares an implementation with the seeded randomness extractor.

### Claim 22 (depends on 15)

The system of claim 15, wherein the system further comprises a first private random number generator configured to produce the second random bit string and to output the second random bit string to the two-source randomness extractor.

### Claim 23 (depends on 22)

The system of claim 22, wherein the system further comprises a second private random number generator configured to produce the fourth random bit string and to output the fourth random bit string to the seeded randomness extractor, wherein the second private random number generator is the first private random number generator or shares an implementation with the first private random number generator.

### Claim 24 (depends on 22)

The system of claim 22, wherein at least one of the first and second private random number generators comprises at least one of: a weak source of randomness; a source of imperfect randomness; a deterministic source of random numbers; a source of pseudo-random numbers; a source of random numbers that does not exhibit quantum behavior; or any combination thereof.

### Claim 25 (depends on 22)

The system of claim 22, wherein at least one of the second random bit string and further random bit string is produced by a block min-entropy source, wherein each block, comprising a fixed number of bits in the string, has a certain amount of min-entropy, even when conditioned on an adversary knowing all previous blocks and having a complete model of operation of the block min-entropy source, and wherein the block min-entropy source is a Santha-Vazirani source.

### Claim 26 (depends on 1)

The system of claim 1, wherein the system is implemented within at least one of a trusted execution environment and a separate hardware module or separate chip of a computer.

### Claim 27

A method of operating a system for providing a random bit string for use in one or more cryptographic applications, wherein the method comprises:
configuring a test system to receive a first random bit string having a first entropy and to perform a test using the first random bit string to confirm quantum behavior in generation of the first random bit string; and
configuring a two-source randomness extractor to:
receive a first input comprising the first random bit string for which the test has confirmed quantum behavior in the generation of the first random bit string;
receive a second input comprising a second random bit string having a second entropy; and
generate and output a third random bit string derived from the first and second random bit strings, the third random bit string having a third entropy which has been amplified to be greater than both the first entropy and the second entropy.

### Claim 28 (depends on 27)

The method of claim 27, wherein the test system is configured to determine a level of entropy in the first random bit string; and wherein the two-source randomness extractor is configured to use the determined entropy to generate the third random bit string having perfect entropy.

### Claim 29 (depends on 28)

The method of claim 28, wherein the two-source randomness extractor is a strong extractor, such that the output of the strong two-source randomness extractor, namely the third random bit string, is independent of any one of the two inputs thereto, namely the first and second random bit strings, such that either the first random bit string or the second random bit string could be made public without compromising secrecy of the third random bit string.

### Claim 30 (depends on 29)

The method of claim 29, wherein the two-source randomness extractor is configured such that, if the first and second random bit strings have a combined min entropy rate of >1, the third random bit string will have perfect entropy.

### Claim 31 (depends on 27)

The method of claim 27, further comprising configuring a seeded randomness extractor to:
receive as a seed a first input comprising the third random bit string output by the two-source randomness extractor;
receive a second input comprising a fourth random bit string having a fourth entropy, wherein the fourth entropy is less than the third entropy; and
generate and output a fifth random bit string derived from the third and fourth random bit strings, wherein multiple fourth random bit strings are used in succession with the seed to produce multiple respective fifth random bit strings.

### Claim 32 (depends on 31)

The method of claim 31, wherein the seeded randomness extractor is a strong extractor, such that the output of the strong seeded randomness extractor, namely the fifth random bit string, is independent of any one of the two inputs thereto, namely the third and fourth random bit strings, such that multiple fifth random bit strings are produced from the seed in combination with multiple respective fourth random bits strings without compromising secrecy of the seed, and wherein a number of fifth random bits strings that are produced from the seed is limited by a security parameter.
