Apparatus, method, and computer program for allowing an authenticator to authenticate a supplicant
The use of quantum phase shifting gates and Fourier transformations in the authentication process enhances the security of identity verification by making it difficult for attackers to impersonate users, thereby addressing the vulnerabilities in existing authentication methods.
Patent Information
- Application Number
- GB2023004259
- Authority / Receiving Office
- GB · GB
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-09-25
AI Technical Summary
Current identity authentication methods lack robustness in ensuring the authenticity of users, particularly in scenarios where secret information is vulnerable to interception and impersonation, especially in quantum computing contexts.
The proposed solution employs quantum phase shifting gates, where an authenticator generates and transforms qubits based on a challenge, and the supplicant transforms them back using shared secret gates, with measurements comparing the outcome to the original challenge to authenticate the supplicant, utilizing M qubit phase shifting gates and Fourier gates to ensure secure identity verification.
This approach significantly reduces the probability of successful impersonation by malicious users, as the phase differences in quantum states make it highly unlikely for an attacker to accurately match the challenge, thereby enhancing the security and reliability of the authentication process.
Smart Images

Figure 00000001_0000 
Figure 00000002_0000 
Figure 00000003_0000
Abstract
Description
Field of the disclosure The present disclosure relates to an apparatus, a method, and a computer program for allowing an authenticator to authenticate a supplicant. Background The term authentication may be used in different contexts: data authentication and identity authentication. In identity authentication, a supplicant (a user or a device) may need to prove his / her / its identity to an authenticator in order to get access to a network, a compute infrastructure, a bank account, a building, etc. For that purpose, the parties perform an interactive protocol in which the supplicant proves possession of some unique data, (i.e., the supplicant shows that he / she / it knows some shared secret or possesses some token or has some specific attribute). One or more aspect of this disclosure relate to identity authentication. Summary According to an aspect there is provided an apparatus comprising at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus at least to: generate M qubits |c) based on a challenge c; transform the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to the apparatus and unknown to a supplicant; transmit, to the supplicant, the M qubits |x); receive, from the supplicant, M qubits |x'); transform the M qubits |x') into M qubits |c') using at least an inverse M qubits phase shifting gate and using an inverse M qubits phase shifting gate ; and authenticate the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c. M may be an integer greater than or equal to one. The supplicant may be another apparatus. The M qubits |x) maybe transformed by the supplicant into M qubits |x'> using an M qubits phase shifting gate As known to the apparatus and known to the supplicant. Transforming the M qubits |c) into M qubits |x) may comprise spreading the M qubits |c) into M qubits |x) and rotating the M qubits |x). Transforming the M qubits |x') into M qubits | c') may comprise rotating the M qubits |x'> and dispreading the M qubits |x'> into M qubits | c'). The M qubits |c) may comprise a basis state |00...0), |00...1), ... of a standard M qubits rectilinear basis. The basis state may correspond to a challenge c e {0,1,.... 2M - 1} randomly selected by the apparatus. The apparatus may comprise at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus at least to: transmit, to the supplicant, the M qubits |x) in parallel. The apparatus may comprise at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus at least to: transform the M qubits |c) into the M qubits |x) using an M qubits Fourier gate TM\ and transform the M qubits |x') into the M qubits |c'> using an inverse M qubits Fourier gate The M qubits Fourier gate TM operates according to a (2M x 2M) matrix of the following form: , fi2n\ wherein a)M = exp^J. The M qubits phase shifting gate Aa may be configured with M phases to shift the M qubits. TheM phases may be different. The M qubits phase shifting gate Aa may comprise an oracle | constructed based on a classical function g. The oracle G may map |m,n) to \m, (n + g(m))mod N) with |m,n) referring to a product state |m) 0 |n) and 0 referring to an outer product. N may be an integer greater than or equal to one. The oracle G may be fed M qubits Fourier transformed M qubits |c) and N qubits Fourier transformed N qubits |a'), wherein the N qubits |a') comprises a basis state known to the apparatus and unknown to the supplicant. The M qubit phase shifting gate ylj may comprises an oracle constructed based on a classical function -f mod 2W ; and wherein the M qubit phase shifting gate A^ may comprise an oracle G^ constructed based on a classical function -g mod 2W. Authenticating the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c may comprise: measuring the M qubits |c'>; determining that the measurement of the M qubits |c') matches the challenge c; and authenticating the supplicant. According to an aspect there is provided an apparatus comprising means for: generating M qubits |c) based on a challenge c; transforming the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to the apparatus and unknown to a supplicant; transmitting, to the supplicant, theM qubits |x>; receiving, from the supplicant, M qubits |x'>; transforming the M qubits |x') into M qubits |c') using at least an inverse M qubits phase shifting gate ylj and using an inverse M qubits phase shifting gate A*; and authenticating the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c. According to an aspect there is provided an apparatus comprising circuitry configured to: generate M qubits |c) based on a challenge c; transform the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to the apparatus and unknown to a supplicant; transmit, to the supplicant, theM qubits |x); receive, from the supplicant, M qubits |x'>; transform the M qubits |x') into M qubits |c'> using at least an inverse M qubits phase shifting gate ylj and using an inverse M qubits phase shifting gate A*; and authenticate the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c. According to an aspect there is provided a method comprising: generating M qubits |c) based on a challenge c; transforming the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to an apparatus and unknown to a supplicant; transmitting, to the supplicant, the M qubits |x>; receiving, from the supplicant, M qubits |x'>; transforming the M qubits |x') into M qubits |c'> using at least an inverse M qubits phase shifting gate ylj and using an inverse M qubits phase shifting gate?!^; and authenticating the supplicant based on measuring theM qubits |c') and comparing the measurement of the M qubits |c') to the challenge c According to an aspect there is provided a computer program comprising computer executable code which when run on at least one processor is configured to: generate M qubits |c) based on a challenge c; transform the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to an apparatus and unknown to a supplicant; transmit, to the supplicant, the M qubits |x>; receive, from the supplicant, M qubits |x'>; transform the M qubits |x') into M qubits |c') using at least an inverse M qubits phase shifting gate and using an inverse M qubits phase shifting gate A*; and authenticate the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c. According to an aspect there is provided an apparatus comprising at least one processor and at least one memory including computer code for one or more programs, the at least one memory and the computer code configured, with the at least one processor, to cause the apparatus at least to: receive, from an authenticator, M qubits |x>; transform the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to the apparatus and known to the authenticator; and transmit, to the authenticator, the M qubits |x'). Transforming the M qubits |x) into M qubits |x') may comprise rotating the M qubits |x). The M qubits phase shifting gate ylsmay be configured with M phases to shift the M qubits. The M phases may be different. The M qubits phase shifting gate As may comprise an oracle F constructed based on a classical function f. The oracle F may map \m,n) to \m, (n + / (m))mod N), with \m,n) referring to the product state |m) 0 |n) and 0 referring to the outer product. The oracle F may be fed the M qubits |x) and N qubits Fourier transformed N qubits |a), wherein the N qubits |a) comprises a basis state known to the apparatus and known to the authenticator. According to an aspect there is provided an apparatus comprising means for: receiving, from an authenticator, M qubits |x>; transforming the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to the apparatus and known to the authenticator; and transmitting, to the authenticator, the M qubits |x'). According to an aspect there is provided an apparatus comprising circuitry configured to: receive, from an authenticator, M qubits |x>; transform the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to the apparatus and known to the authenticator; and transmit, to the authenticator, the M qubits |x'). According to an aspect there is provided a method comprising: receiving, from an authenticator, M qubits |x>; transforming the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to an apparatus and known to the authenticator; and transmitting, to the authenticator, the M qubits |x'). According to an aspect there is provided a computer program comprising computer executable code which when run on at least one processor is configured to: receive, from an authenticator, M qubits |x>; transform the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to an apparatus and known to the authenticator; and transmit, to the authenticator, the M qubits |x'). According to an aspect, there is provided a computer readable medium comprising program instructions stored thereon for performing at least one of the above methods. According to an aspect, there is provided a non-transitory computer readable medium comprising program instructions stored thereon for performing at least one of the above methods. According to an aspect, there is provided a non-volatile tangible memory medium comprising program instructions stored thereon for performing at least one of the above methods. In the above, many different aspects have been described. It should be appreciated that further aspects may be provided by the combination of any two or more of the aspects described above. Various other aspects are also described in the following detailed description and in the attached claims. Brief Description of the Figures Embodiments will now be described, by way of example only, with reference to the accompanying Figures in which: Fig. 1 shows a schematic representation of a user equipment, wherein the user equipment may be an authenticator or a supplicant; Fig. 2 shows a schematic representation of a process for allowing an authenticator to authenticate a supplicant; Fig. 3 shows complex probability amplitudes (c'|c) plotted for 10000 random choices of phases ((p'm - (pm) for M = 2, 4, 6 and 8; Fig. 4 shows how a probability amplitude (c'|c) of a basis state |c') is a sum of 2M complex terms; Fig. 5a shows a schematic representation of a process for allowing an authenticator to authenticate a supplicant; Fig. 5b shows a schematic representation of a process for selecting a rotor; Fig. 5c shows a schematic representation of a three-way handshake process for allowing an authenticator to authenticate a supplicant and for allowing the supplicant to authenticate the authenticator. Fig. 6 shows a block diagram of a method for allowing an authenticator to authenticate a supplicant performed by an apparatus (e.g. authenticator); Fig. 7 shows a block diagram of a method for allowing an authenticator to authenticate a supplicant performed by an apparatus (e.g. supplicant); and Fig. 8 shows a schematic representation of a non-volatile memory medium storing instructions which when executed by a processor allow a processor to perform one or more of the steps of the methods of Figures 7 and 8. Detailed Description of the Figures Fig. 1 illustrates an example of a UE 100. In the context of this disclosure, the UE 100 may be an authenticator or a supplicant. The UE 100 may be provided by any device capable of sending and receiving qubits. The UE 100 may receive signals (carrying qubits) via appropriate transceiver apparatus and may transmit signals (carrying qubits) via appropriate apparatus. In Fig. 1 transceiver apparatus is designated schematically by block 106. The UE 100 may be provided with at least one processor 101, at least one memory 102 (e.g. at least one ROM 102a and / or at least one RAM 102b) and other possible components 103 for use in software and hardware aided execution of tasks it is designed to perform, including control of access to and communications with access systems and other communication devices. The at least one processor 101 is coupled to the RAM 102b and the ROM 102a. The at least one processor 101 may be configured to execute an appropriate software code 108. The software code 108 may for example allow to perform one or more of the present aspects. The software code 108 may be stored in the ROM 102a. The processor, storage and other relevant control apparatus can be provided on an appropriate circuit board and / or in chipsets. This feature is denoted by reference 104. The device may optionally have a user interface such as keypad 105, touch sensitive screen or pad, combinations thereof or the like. Optionally one or more of a display, a speaker and a microphone may be provided depending on the type of the device. It will be understood that although the following concepts may be implemented by a UE, such as the UE of Fig. 1, one or more of these concepts may be applied to other apparatuses. One or more aspect of this disclosure relate to identity authentication. One or more aspect of this disclosure relates to a quantum solution wherein the secret information, which the supplicant needs to prove his / her / its identity, is hidden in the phases of the qubits that the supplicant and authenticator exchange. In the following we first discuss the general principle with generic phase shifting gates and subsequently show how to construct such phase shifting gates based on classical functions. In quantum computing a gate (also referred to as a quantum gate or quantum logic gate) is a basic quantum system operating on a small number of qubits. A gate may be represented by a matrix. The quantum solution may rely on an M qubits phase shifting gate Aa only known to the authenticator (M may be an integer equal to or greater than one). A (2M x 2M) matrix corresponding to the M qubits shifting gate Aa may be of form: Aa = diag(exp(i< / >)) where i is the imaginary unit (i.e., i2 = -1) and (p = (jpQf<p±f ...,(p2M_1) is a vector with phases (cpm e [0, 2tt)). An inverse (i.e., Hermitian conjugate) M qubits shifting gate A^ may be of the form: Aa = diag(exp(-i< / >)). The quantum solution may rely on an M qubits shifting gate As known to the supplicant and the authenticator as a shared secret. A (2M x 2M) matrix corresponding to the M qubits shifting gate As may be of the form: As = diag(exp(i<p)) where i is the imaginary unit (i.e., i2 = —1) and <p = (<p0,<pr, is a vector with phases (<pm e [0,2n)) known to the supplicant and authenticator as a shared secret. An inverse (i.e., Hermitian conjugate) M qubits shifting gate ylj may be of the form: As = diag(exp(—i<p)). The quantum solution may rely on an M qubits Fourier gate TM. k (2M x 2M) matrix corresponding to the M qubits Fourier gate TM may be of the form where a)M = exp An inverse (i.e., Hermitian conjugate) M qubits Fourier gate may be of the form: The skilled person would know how to construct such M qubits Fourier gate TM and therefore more details are not provided in this respect. Fig. 2 shows a schematic representation of a process for allowing an authenticator to authenticate a supplicant. Fig. 2 shows one authentication cycle. In step 201, the authenticator may randomly select a challenge c e {0,1,..., 2M-1} (only known to the authenticator). The challenge c may be a bitstring 00 ...0, 00 ...1, ..., 11 ...1. The challenge c may correspond to a basis state |00...0), |00...1), ... I11...1) (i.e., all possible bit strings of length M) of a standard M qubits rectilinear basis. The authenticator may generate M qubits |c) comprising the basis state. More specifically, a challenge c 00 ...0 may correspond to the basis state |00 ...0), a challenge c 00 ...1 may correspond to the basis state |00...1), a challenge c 11 ..1 may correspond to a basis state 111... 1), etc. It will be understood that the rectilinear basis for one qubit is a set {|0), |1)}. Here, we are using a rectilinear basis for M qubits, which is a set {|00 ... 0), 100 ... 1),..., 111... 1)} (i.e., all bitstrings of length M). The label I inside the ket |Z) is just a name. In the description, the following shorthand notations may be used: integer 0 for bitstring 00...0, integer 1 for bitstring 00...1, ... integer 2M - 1 for bitstring 11... 1. So, each choice of an integer0, 1 , ..., 2M - 1 corresponds to one bitstring of M bits, and hence, to one of the basis vectors of the rectilinear basis for M qubits. The authenticator may transform the M qubits |c) into M qubits |x) using an M qubits Fourier gate TM and an M qubits phase shifting gate Aa (only known to the authenticator). The authenticator may transmit theM qubits |x) to the supplicant. For example, the authenticator may transmit the M qubits |x) to the supplicant in parallel. In step 202, the supplicant may transform the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As (known to the authenticator and the supplicant as a shared secret). The supplicant may transmit the M qubits |x') to the authenticator. For example, the supplicant may transmit the M qubits |x') to the authenticator in parallel. In step 203, the authenticator may transform theM qubits |x') into theM qubits |c') using an inverse M qubits phase shifting gateA^, an inverse M qubits phase shifting gate A^ and an inverse M qubits Fourier gate The M qubits |x') may be input to the inverse M qubits phase shifting gate ylj . The output of the inverse M qubits phase shifting gate may be input to the inverse M qubits phase shifting gate A^ . The output of the inverse M qubits phase shifting gate A^ may be input to and the inverse M qubits Fourier gate The output of the inverse M qubits Fourier gate may be the M qubits |c'). The authenticator may measure the M qubits |c'). The result of measuring the M qubits |c') may be a bitstring. For example, the authenticator may measure the M qubits |c') in the standard M qubits rectilinear basis. The authenticator may compare the measured bitstring to the challenge c. If the measured bitstring matches the challenge c, the authenticator may authenticate the supplicant. If the measured bitstring does not match the challenge c, the authenticator may not authenticate the supplicant. It will be understood that although Fig. 2 represents a process with a single authentication cycle, other processes may use multiple authentication cycles. The probability that the authenticator measures the bitstring to be equal to the challenge c is the square |(c'|c)|2 of the probability amplitude of the M qubits |c'>, which is given by: 2M-1 (c'k) = exp(i(<p'm - (p„j)^(c~c') m=0 where cp' denotes that a malicious UE trying to impersonate the supplicant might have used a guess cp' for the actual phases cp. Since the supplicant knows the actual phases (cp' = the probability that the authenticator measures the bitstring matching the challenge c would be 1. Remark that if the phase shifts that the supplicant and authenticator would differ by a constant ((p'm - (pm = constant independent of m), the probability of the authenticator measuring the bitstring matching the challenge c would also be 1. Hence, two M qubits phase shifting gate As that differ by a constant may be considered to be equivalent. If a malicious user tries to impersonate the supplicant by intercepting the M qubits |x) and using a guessed set of phases cp', the phase differences (p'm - (pm in the above sum composing the probability amplitude (c'|c) may be considered to be random. Fig. 3 shows the complex probability amplitude (c'|c) plotted for 10000 random choices of the phases ((p'm - (pm) for M = 2, 4, 6 and 8. The probability that the bitstring is obtained by measuring theM qubits |c'> is the square |<c'|c>|2 of the length of this probability amplitude. Note that this probability amplitude is smaller than 2~M (where the circle lines indicate the loci of length 2-M) for most random choices of these phases. In this Fig. the phase differences are independent, identically distributed random variables that are uniformly distributed in the interval [0,2n). Note that applying the Fourier transform to the phase difference term (i.e., the factor a>^c~c ) in each term of the above sum for <c'|c», does not alter the statistics of the phase differences: after Fourier transform the phase differences are still independent identically distributed with uniform distribution. Hence, the probability that the authenticator will obtain the bitstring by measuring the M qubits |c') is very close to 2~2M for all values of the M qubits |c'>. Fig. 4 illustrates this graphically: the only case in which the 2M terms in the sum composing the probability amplitude (c'|c) constructively interfere is where (p'm -<pm = constant. In all other cases, for all intents and purposes, they destructively interfere when a malicious UE impersonates the supplicant. The probability amplitude (c'|c) of the M qubits |c') is a sum of 2M complex terms. A first line (starting from the centre continuing within the unit circle over the Real axis) shows how the 2M terms in the sum constructively interfere under normal operation. A second line (starting from the centre and continuing within the unit circle) shows how the 2M terms in the sum destructively interfere when a malicious UE tries to impersonate the supplicant. If a malicious UE tries to impersonate the authenticator, using the same procedure as the authenticator, but his / her / its own choice of M qubits phase shifting gate Aa = I (where I is the identity operator), with a similar reasoning as above, the probability that the malicious UE measures the bitstring is the square |(c'|c)|2 of the probability amplitude of |c'), which is: 2M-1 (c'k) = exp(i<pm)^(c-c’ m=0 where <p = (<p0><Pi> are the secret phases that the supplicant uses. By probing the supplicant many times (i.e., a multiple of (2M)2 times), these probabilities could be approximately measured. In that way, the malicious UE may get some information pertaining to these phases that the supplicant uses. However, it is very unlikely that these probabilities can be measured accurately enough before the supplicant and authenticator detect that there is some tampering going on. Note that the no cloning theorem prevent the attacked to reuse the same qubits twice. Moreover, this problem can be circumvented, if the authenticator needs to authenticate him- / her / itself to the supplicant before he / she / it can ask the supplicant to authenticate. In that way the authentication becomes a three-way handshake. An example of a three way handshake process will be described further in this disclosure in reference to Fig. 5c. A malicious UE could measure the M qubits |x) being sent from authenticator and supplicant or from supplicant to authenticator, in any basis (e.g., in the standard rectilinear basis or in the Fourier basis (which is equivalent to applying a Fourier gate before measuring)). Since the M qubits phase shifting gate Aa (only known to the authenticator) is potentially changed for every authentication cycle, the malicious UE has no way of gaining information with respect to the secret that the authenticator and supplicant share. Measuring collapses the state to any of the basis states of the measuring basis, and, in particular, destroys the phase information. As a result a malicious UE performing a measurement essentially boils down to interrupting the channel between authenticator and supplicant, which will easily be noticed. In the above general M qubits phase shifting gates have been used. However, M qubits phase shifting gates can be constructed based on a classical function. Consider the classical function: / : {0, 1, .... 2M - 1} {0, 1, .... 2W - 1} m -> f(m) There are 2W2“ such functions. Although functions that differ by an additional constant may essentially be equivalent, each supplicant may be provided with a unique function, if M and N are chosen large enough. The classical function / may be implemented as a quantum circuit F. In particular, the quantum circuit may map a basis state lm,n) to a basis state |m, (n + / (m))mod N). Here |m,n) is short-hand notation for a product state |m) 0 |n) with 0 the outer product (also referred to as Kronecker product). In the prior art such a circuit F is often referred to as an “oracle”. The skilled person would know (e.g., from the theory of reversible computing) how to construct such an oracle F from a classical function f. The oracle F, as any quantum gate, may also take a superposition of basis states as input. The eigenstates of the oracle F are: |m) ®?N\n) with corresponding eigenvalues form = 0,1, - 1 and n = 0,1, ...,2W - 1. Consider the superposition of basis states: M-l am\m) m=0 For any choice of a (a parameter referred to as the “rotor” for reasons that will become clear later), feeding the oracle F with the product state of this state with the state obtained by feeding the basis state corresponding to rotor a through a Fourier gate, i.e., M-l |m) Q^la) m=0 yields M-l 0FNja) m=0 It may be noted that the second factor (i.e., FN\a)) in the product state was not altered in this process. Discarding this second factor yields the desired phase shifting operator, namely a diagonal unitary operator A with phases af(m) Vm — — 2ir Note that in the generic system described above two sets of phases may be equivalent if they differ by a constant. Similarly, two functions that differ by a constant mod 2W may also be equivalent. The rotor a may be any positive number. The rotor a may amplify the phases: a large value of a rotates each term in the sum proportionally more (hence, the name for this parameter a). Different values for a just yield different ways in which the terms in the sum can destructively interfere. Changing the rotor a after a number of authentication cycles may yield a stronger guarantee of security. An example is now provided with M = 3 and N = 2. For the example the matrices corresponding to the quantum operators can still be explicitly written down. This example is detailed for illustrative purposes only. In practice M and N may be chosen larger. In theory, M and N may be chosen smaller and may even be equal to one. —) = i. The following classical function f may be selected: m 000 001 010 011 100 101 110 111 / (m) 01 11 00 10 11 01 10 10 Here m and n are represented in their binary notation to emphasize that they will be encoded in qubits by contrast to above where we represented them as integers for conciseness of notation. The matrix associated to the oracle F implementing f is (where the bold 0 denotes the 4x4 zero matrix): F / ? 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 This matrix is unitary as it has only one 1 in each row and column. Hence, this matrix 5 is implementable as a quantum circuit. The block structure may be noted. However, since each block is (potentially) different, there may not be a tensor product (or Kronecker product) of two matrices of lower rank. As an example, we choose as rotor a = 01. It can easily be checked that any state 1 1 / .1 / . 10 |m)®-(|00) + i|01)- |10)-i|ll)) = -\m, 00) + l-\m, 01) - -\m, 10) - l-\m, 11) u u u u u with m = 000,001,..., 111 is an eigenstate with eigenvalue by applying oracle F to any of these states and grouping the right terms. Consider the superposition of basis states: 15 ^ooolOOO) + (700^001) + --- + (7^1111) The product state of this state with the state obtained by feeding the basis state |«) corresponding to the rotor a = 01, through a Fourier gate is: OooolOOO) + «00i|001) + - + amllll)) ® Q(|00) + i|01) - 110) - i111») = 1000,00) + 1001,00) + ••• + ^-1111,00) + ^^1000,01)+ -^^-1001,01) + -- + ^^-1111,01) 1000,10) - 1001,10)-----^-1111,10) -^^1000,11)--^^1001,11) + ---^^1111,11) Applying the oracle F to this quantum state (grouping the correct terms to form eigenvectors) and discarding the two least significant bits, yields: r^000) «0001000) + r^001) «0011001) + - + as desired. The authenticator and the supplicant may use the same rotor a in each specific authentication cycle. However, the rotor a may differ from authentication cycle to authentication cycle. They can agree upfront to use a certain value (or a list of values that are valid at different times) or they can rely on a classical or quantum key distribution protocol to agree upon a word of N bits. We assume that this may be done prior to the authentication cycle. Fig. 5a shows a schematic representation of a process for allowing an authenticator to authenticate a supplicant. Fig. 5a shows one authentication cycle. In step 501, the authenticator may randomly select a challenge c e {0,1,..., 2M -1} (only known to the authenticator). The challenge c may correspond to a basis state |00 ...0), |00... 1), ... |11... 1) (i.e., all possible bit strings of length M) of a standard M- qubits rectilinear basis. The authenticator may generate M qubits |c) comprising the basis state. The authenticator may select a rotor a' (only known to the authenticator). The rotor a' may correspond to a basis state |00...0), |00...1), ... |11... 1) (i.e., all possible bit strings of length N) of a standard N qubits rectilinear basis. The authenticator may generate N qubits |a') comprising the basis state. The authenticator may transform the M qubits |c) and the N qubits |a') into M qubits |x) using an M qubits Fourier gate TM, an N qubits Fourier gate ?N and an oracle 6’. More specifically, the M qubits |c) may be input to the M qubits Fourier gate TM. The N qubits | a') may be input to the N qubits Fourier gate ?N. The output of the M qubits Fourier gate TM and the output of the N qubits Fourier gate ?N, concatenated together in that order, may be input to the oracle G . The first M qubits of the output of the oracle J may be the M qubits |x). The authenticator may transmit theM qubits |x) to the supplicant. For example, the authenticator may transmit the M qubits |x) to the supplicant in parallel. In step 502, the supplicant may select a rotor a known to the authenticator and the supplicant as a shared secret. The rotor a may correspond to a basis state 100... 0), 100 ... 1), ... |11... 1) (i.e., all possible bit strings of length N) of a standard N qubits rectilinear basis. The supplicant may generate a N qubits |a) comprising the basis state. The supplicant may transform the M qubits |x) and the N qubits |a) into M qubits |x') using an N qubits Fourier gate ?N and an oracle F. More specifically, the N qubits |a) may be input to the N qubits Fourier gate FN. The M qubits |x) and the output of the N qubits Fourier gateTw, concatenated together in that order, may be input to the oracle F. The first M qubits of the output of the oracle F may be the M qubits |x'). The supplicant may transmit the M qubits |x') to the authenticator. For example, the supplicant may transmit the M qubits |x') to the authenticator in parallel. In step 503, the authenticator may select the same rotor a known to the authenticator and the supplicant as shared secret, that the supplicant used in step 502. The authenticator may transform the M qubits |x') into M qubits |c') using two N qubits Fourier gates ?N , an inverse oracle F+, an inverse oracle Bi and an inverse M qubits Fourier gate J7^. More specifically, the N qubits |a) may be input to a first N qubits Fourier gate ?N. The N qubits |a') may be input to a second N qubits Fourier gate ?N. The M qubits |x') and the output of the first N qubits Fourier gate ?N, concatenated together in that order, may be input to the inverse oracle F+ The first M qubits of the output of the inverse oracle F* and the output of the second N qubits Fourier gate ?N, concatenated in that order, may be input to the inverse oracle Bi. The first M qubits of the output of the inverse oracle may be input to the inverse M qubits Fourier gate The output of the inverse M qubits Fourier gate Fj may be the M qubits |c'). The authenticator may measure the M qubits |c'). The result of measuring the M qubits |c') may be a bitstring. For example, the authenticator may measure the M qubits |c') in the standard M qubits rectilinear basis. The authenticator may compare the measured bitstring to the challenge c. If the measured bitstring matches the challenge c, the authenticator may authenticate the supplicant. If the measured bitstring does not match the challenge c, the authenticator may not authenticate the supplicant. Fig. 5b shows a schematic representation of a process for selecting rotor a. It will be understood that the rotor a (chosen by the authenticator) may be hardcoded in the supplicant’s software (and kept secret). In a similar way, the function / (also chosen by the authenticator) may be hardcoded in the supplicant’s software (and kept secret). In that case the rotor a (as the function f) may be static (i.e. it never changes). Alternatively, the rotor a may be dynamic if there is a secret way to share the rotor a between the supplicant and the authenticator. In step 510, the authenticator may select the rotor a. The authenticator may secretly share the rotor a with the supplicant by using a same classical or quantum key distribution protocol. The authenticator may select the rotor a'. The authenticator may not share the rotor a' with the supplicant. The authenticator may initialize a counter to 0. Alternatively, the authenticator may initialize a counter to K. In step 512, the authenticator and the supplicant may perform an authentication cycle. For example, the authenticator and the supplicant may perform the process of Fig. 5a. In step 514, the authenticator may increment the counter. Alternatively, the authenticator may decrement the counter. In step 516, the authenticator may determine if the counter reached K. Alternatively, the authenticator may determine if the counter reached 0. If the counter reaches K or alternatively the counter reaches 0, the process loops back to step 510. If the counter does not reach K or alternatively the counter does not reach 0, the process loops back to step 512. It will be understood that the M qubits phase shifting gate Aa (only known the authenticator) applied to the M qubit |c) is implemented via a secret classical function g (only known to the authenticator) implemented in the oracle G which is fed by an M qubits Fourier transformed challenge M qubits |c) and an N qubits Fourier transformed N qubits |a') (only known to the authenticator). The M qubits phase shifting gate As (which is a shared secret between the supplicant and authenticator) is implemented via a secret classical function f (known to the authenticator and the supplicant) implemented in the oracle F. The oracle F is fed by the M qubits |x) and an N qubits Fourier transformed N qubits |a) . The N qubits |a) may correspond to the rotor a that the authenticator secretly may secretly share with the supplicant or using a classical or quantum key distribution protocol triggered by the method explained in step 510 of Fig. 5b. The Hermitian conjugates of the oracles F^ and G+ are implemented based on the classical function -f mod 2W and -g mod 2W respectively. The probability that an authentication succeeds by chance is of the order 2-2M. To increase the reliability of the system, either M needs to be chosen larger or authentication needs to run through multiple authentication cycles. It will be understood that the above quantum solution may rely on the authenticator sending a challenge c encoded in M qubits in parallel and the supplicant replying with M qubits in parallel. Both these messages may be transported over open communication channels. Also, both parties may rely on a rotor a encoded in N classical bits which either needs to be agreed upon upfront or for which they rely on a classical or quantum key distribution protocol. Fig. 5c shows a schematic representation of a three-way handshake process for allowing an authenticator to authenticate a supplicant and for allowing the supplicant to authenticate the authenticator. : In step 520 the supplicant may express the wish to be authenticated to the authenticator. In step 522 the authenticator may rely on the techniques disclosed in this disclosure to authenticate his- / her- / itself towards the supplicant by responding to a challenge the supplicant sends. In that way, the authenticator may prove to the supplicant that he / she / it (i.e., the authenticator) is genuine and not an imposter. In step 524 (3) the authenticator may ask the supplicant to authenticate by responding to a challenge the authenticator sends to the supplicant. Note that step 520 and 522 could be combined. It will be understood that although the above example uses multiple qubits, the same concept may be applied with single qubits. Fig. 6 shows a block diagram of a method for allowing an authenticator to authenticate a supplicant performed by an apparatus (e.g., authenticator). In step 600, the apparatus may generate M qubits |c) based on a challenge c. In step 602, the apparatus may transform the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to the apparatus and unknown to a supplicant. In step 604, the apparatus may transmit, to the supplicant, the M qubits |x). In step 606, the apparatus may receive, from the supplicant, M qubits |x'). In step 608, the apparatus may transform the M qubits |x') into M qubits |c') using at least an inverse M qubits phase shifting gate ylj and using an inverse M qubits phase shifting gate A*. In step 6101, the apparatus may authenticate the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c. M may be an integer greater than or equal to one. The supplicant may be another apparatus. The M qubits |x) maybe transformed by the supplicant into M qubits |x'> using an M qubits phase shifting gate As known to the apparatus and known to the supplicant. Transforming the M qubits |c) into M qubits |x) may comprise spreading the M qubits |c) into M qubits |x) and rotating the M qubits |x). Transforming the M qubits |x') into M qubits | c') may comprise rotating the M qubits |x'> and dispreading the M qubits |x') into M qubits | c'). The M qubits |c) may comprise a basis state |00...0), |00...1), ... of a standard M qubits rectilinear basis. The basis state may correspond to a challenge c e {0,1,.... 2M - 1} randomly selected by the apparatus. The apparatus may transmit, to the supplicant, the M qubits |x) in parallel. The apparatus may transform the M qubits |c) into the M qubits |x) using an M qubits Fourier gate TM. The apparatus may transform the M qubits |x') into the M qubits |c'> using an inverse M qubits Fourier gate The M qubits Fourier gate TM may operate according to a (2M x 2M) matrix of the following form: wherein = exp(^). The M qubits phase shifting gate Aa may be configured with M phases to shift the M qubits. The M phases may be different. The M qubits phase shifting gate Aa may comprises an oracle 6’ constructed based on a classical function g. The oracle G may map |m,n) to \m, (n + g(m))mod N) with |m,n) referring to a product state |m) 0 |n) and 0 referring to an outer product. N may be an integer greater than or equal to one. The oracle G may be fed M qubits Fourier transformed M qubits |c) and N qubits Fourier transformed N qubits |a'), wherein the N qubits |a') comprises a basis state known to the apparatus and unknown to the supplicant. The M qubit phase shifting gate ylj may comprise an oracle constructed based on a classical function -f mod 2W. The M qubit phase shifting gate A^ may comprise an oracle G^ constructed based on a classical function -g mod 2W . Authenticating the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c may comprise: measuring the M qubits |c'); determining that the measurement of the M qubits |c') matches the challenge c; and authenticating the supplicant. Failing authenticating the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c may comprise: measuring the M qubits |c'); determining that the measurement of the M qubits |c') does not match the challenge c; and authenticating the supplicant. Fig. 7 shows a block diagram of a method for allowing an authenticator to authenticate a supplicant performed by an apparatus (e.g., supplicant). In step 700, the apparatus may receive, from an authenticator, M qubits |x). In step 702, the apparatus may transform the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to the apparatus and known to the authenticator. In step 704, the apparatus may transmit, to the authenticator, the M qubits |x'). Transforming the M qubits |x) into M qubits |x') may comprise rotating the M qubits |x>]. The M qubits phase shifting gate ylsmay be configured with M phases to shift the M qubits. The M phases may be different. The M qubits phase shifting gate As may comprise an oracle F constructed based on a classical function f. The oracle F may map |m,n) to \m, (n + / (m))mod N), with |m,n) referring to the product state |m) 0 |n) and 0 referring to the outer product. The oracle F may be fed the M qubits |x) and N qubits Fourier transformed N qubits |a), wherein the N qubits |a) comprises a basis state known to the apparatus and known to the authenticator. Fig. 8 shows a schematic representation of non-volatile memory media 800 storing instructions and / or parameters which when executed by a processor allow the processor to perform one or more of the steps of the methods of Figures 6 and 7. It is noted that while the above describes example embodiments, there are several variations and modifications which may be made to the disclosed solution without departing from the scope of the present invention. The embodiments may thus vary within the scope of the attached claims. In general, some embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although embodiments are not limited thereto. While various embodiments may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof. The embodiments may be implemented by computer software stored in a memory and executable by at least one data processor of the involved entities or by hardware, or by a combination of software and hardware. Further in this regard it should be noted that any procedures, e.g., as in Figures 6 and 7, may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions. The software may be stored on such physical media as memory chips, or memory blocks implemented within the processor, magnetic media such as hard disk or floppy disks, and optical media such as for example DVD and the data variants thereof, CD. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as semiconductor-based memory devices, magnetic memory devices and systems, optical memory devices and systems, fixed memory and removable memory. The data processors may be of any type suitable to the local technical environment, and may include one or more of general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASIC), gate level circuits and processors based on multi-core processor architecture, as non-limiting examples. Alternatively or additionally some embodiments may be implemented using circuitry. The circuitry may be configured to perform one or more of the functions and / or method steps previously described. That circuitry may be provided in the base station and / or in the communications device. As used in this application, the term “circuitry” may refer to one or more or all of the following: (a) hardware-only circuit implementations (such as implementations in only analogue and / or digital circuitry); (b) combinations of hardware circuits and software, such as: (i) a combination of analogue and / or digital hardware circuit(s) with software / firmware and (ii) any portions of hardware processor(s) with software (including digital signal processor(s)), software, and memory(ies) that work together to cause an apparatus, such as the communications device or base station to perform the various functions previously described; and (c) hardware circuit(s) and or processor(s), such as a microprocessor(s) or a portion of a microprocessor(s), that requires software (e.g., firmware) for operation, but the software may not be present when it is not needed for operation. This definition of circuitry applies to all uses of this term in this application, including in any claims. As a further example, as used in this application, the term circuitry also covers an implementation of merely a hardware circuit or processor (or multiple processors) or portion of a hardware circuit or processor and its (or their) accompanying software and / or firmware. The term circuitry also covers, for example integrated device. The foregoing description has provided by way of exemplary and non-limiting examples a full and informative description of some embodiments However, various modifications and adaptations may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings and the appended claims. However, all such and similar modifications of the teachings will still fall within the scope as defined in the appended claims.
Claims
1. An apparatus comprising at least one processor and at least one memory including computer code for one or more programs, the at least one memory and the computer code configured, with the at least one processor, to cause the apparatus at least to:generate M qubits |c) based on a challenge c;transform the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to the apparatus and unknown to a supplicant;transmit, to the supplicant, the M qubits |x>;receive, from the supplicant, M qubits |x'>;transform the M qubits |x') into M qubits |c') using at least an inverse M qubits phase shifting gate ylj and using an inverse M qubits phase shifting gate A*; andauthenticate the supplicant based on measuring the M qubits |c') and comparing the measurement of the M qubits |c') to the challenge c.
2. The apparatus of claim 1, wherein the M qubits |c) comprises a basis state I00...0), |00...1), ... |11... 1) of a standard M qubits rectilinear basis.
3. The apparatus of claim 2, wherein the basis state corresponds to a challenge c e {0,1,.... 2M - 1} randomly selected by the apparatus.
4. The apparatus of any of claims 1 to 3, wherein the at least one memory and the computer code are configured, with the at least one processor, to cause the apparatus at least to:transmit, to the supplicant, the M qubits |x) in parallel.
5. The apparatus of any of claims 1 to 4, wherein the at least one memory and the computer code are configured, with the at least one processor, to cause the apparatus at least to:transform the M qubits |c) into the M qubits |x) using an M qubits Fourier gate andtransform the M qubits |x') into the M qubits |c'> using an inverse M qubits Fourier gate6. The apparatus of claim 5 wherein the M qubits Fourier gate TM operates according to a (2M x 2M) matrix of the following form:, fi2n\wherein a)M = exp^J.
7. The apparatus of any of claim 1 to 6, wherein the M qubits phase shifting gate Aa is configured with M phases to shift the M qubits.
8. The apparatus of claim 7, wherein the M phases are different.
9. The apparatus of any of claims 1 to 8, wherein the M qubits phase shifting gateAa comprises an oracle G constructed based on a classical function g.
10. The apparatus of claim 9, wherein the oracle G maps |m,n) to \m, (n + g(m))mod N) with |m,n) referring to a product state |m) 0 |n) and 0 referring to an outer product.
11. The apparatus of claim 10, wherein the oracle G is fed M qubits Fourier transformed M qubits |c) and N qubits Fourier transformed N qubits |a'), wherein the N qubits |a') comprises a basis state known to the apparatus and unknown to the supplicant.
12. The apparatus of any of claims 1 to 11, wherein the M qubit phase shifting gate comprises an oracle constructed based on a classical function -f mod 2W ; and wherein the M qubit phase shifting gate A^ comprises an oracle G^ constructed based on a classical function -g mod 2W .
13. The apparatus of any of claims 1 to 12, wherein authenticating the supplicant based on measuring the M qubits |c'> and comparing the measurement of the M qubits |c') to the challenge c comprises:measuring the M qubits |c');determining that the measurement of the M qubits |c') matches the challenge c; andauthenticating the supplicant.
14. An apparatus comprising at least one processor and at least one memory including computer code for one or more programs, the at least one memory and the computer code configured, with the at least one processor, to cause the apparatus at least to:receive, from an authenticator, M qubits |x>;transform the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to the apparatus and known to the authenticator; andtransmit, to the authenticator, the M qubits |x').
15. The apparatus of claim 14, wherein the M qubits phase shifting gate A, is configured with M phases to shift the M qubits.
16. The apparatus of claim 15, wherein the M phases are different.
17. The apparatus of any of claims 14 to 16, wherein the M qubits phase shifting gate As comprises an oracle F constructed based on a classical function f.
18. The apparatus of claim 17, wherein the oracle F maps |m,n) to \m, (n + / (m))modW), with |m,n) referring to the product state |m) 0 |n) and 0 referring to the outer product.
19. The apparatus of claim 18, wherein the oracle F is fed the M qubits |x) and N qubits Fourier transformed N qubits |a), wherein the N qubits |a) comprises a basis state known to the apparatus and known to the authenticator.
20. A method comprising:generating M qubits |c) based on a challenge c;transforming the M qubits |c) into M qubits |x) using at least an M qubit phase shifting gate Aa known to the apparatus and unknown to a supplicant;transmitting, to the supplicant, the M qubits |x>;receiving, from the supplicant, M qubits |x'>;transforming the M qubits |x') into M qubits |c') using at least an inverse M qubits phase shifting gate / 1^ and using an inverse M qubits phase shifting gateylj; andauthenticating the supplicant based on measuring the M qubits |c'> and comparing the measurement of the M qubits |c') to the challenge c.
21. A method comprising:receiving, from an authenticator, M qubits |x>;transforming the M qubits |x) into M qubits |x') using an M qubits phase shifting gate As known to the apparatus and known to the authenticator; and transmitting, to the authenticator, the M qubits |x').
22. A computer program comprising computer executable instructions which when run on one or more processors perform the steps of the method of claim 20 or claim 21.
Citation Information
Patent Citations
Methods for performing an authentication procedure and for message exchange
US20230058053A1
