A Quantum Digital Signature (QDS) refers to the quantum mechanical equivalent of either a classical digital signature or, more generally, a handwritten signature on a paper document. Like a handwritten signature, a digital signature is used to protect a document, such as a digital contract, against forgery by another party or by one of the participating parties.
As e-commerce has become more important in society, the need to certify the origin of exchanged information has arisen. Modern digital signatures enhance security based on the difficulty of solving a mathematical problem, such as finding the factors of large numbers (as used in the RSA algorithm). Unfortunately, the task of solving these problems becomes feasible when a quantum computer is available (see Shor's algorithm). To face this new problem, new quantum digital signature schemes are in development to provide protection against tampering, even from parties in possession of quantum computers and using powerful quantum cheating strategies.
The public-key method of cryptography allows a sender to sign a message (often only the cryptographic hash of the message) with a sign key in such a way that any recipient can, using the corresponding public key, check the authenticity of the message. To allow this, the public key is made broadly available to all potential recipients. To make sure only the legal author of the message can validly sign the message, the public key is created from a random, private sign key, using a one-way function. This is a function that is designed such that computing the result given the input is very easy, but computing the input given the result is very difficult. A classic example is the multiplication of two very large primes: The multiplication is easy, but factoring the product without knowing the primes is normally considered infeasible.
x\mapstof(x)
f(x)\mapstox
Like classical digital signatures, quantum digital signatures make use of asymmetric keys. Thus, a person who wants to sign a message creates one or more pairs of sign and corresponding public keys. In general we can divide quantum digital signature schemes into two groups:
k\mapsto|fk\rangle
|k\rangle\mapsto|fk\rangle
In both cases f is a one-way quantum function that has the same properties as a classical one-way function.That is, the result is easy to compute, but, in contrast to the classical scheme, the function is impossible to invert, even if one uses powerful quantum cheating strategies.
The most famous scheme for the first method above is provided by Gottesman and Chuang [1]
Most of the requirements for a classical digital signature scheme also apply to the quantum digital signature scheme.
In detail
A classical one-way function as said above is based on a classical infeasible mathematical task, whereas a quantum one-way function exploits the uncertainty principle which makes it impossible even for a quantum computer to compute the inverse.This is done by providing a quantum output state, with whom one cannot learn enough about the input string to reproduce it.In case of the first group of schemes this is shown by Holevo's theorem, which says, that from a given n-qubit quantum state one cannot extract more than n classical bits of information.[3] One possibility to ensure that the scheme uses less qubits for a bit string of a certain length is by using nearly orthogonal states
|\langlefk|fk'\rangle|<\delta fork ≠ k'\land0\le\delta\le1
2n
|0\rangle
|1\rangle
1 | |
\sqrt{2 |
3m=2n
Because of Holevo's theorem and the fact, that m can be much smaller than n, we can only get m bits out of the n bits message. More general, if one gets T copies of the public key he can extract at most Tm bits of the private key.If
\delta
n-Tm
Note: You cannot distinguish between non-orthogonal states, if you only have a small amount of identical states. That's how the quantum one-way functions works.
Nevertheless
|fk\rangle
In the classical case we create a classical public key out of a classical sign key, thus it is easy to provide every potential recipient with a copy of the public key. The public key can be freely distributed.This becomes more difficult in the quantum case, because copying a quantum state is forbidden by the no cloning theorem, as long as the state itself is unknown.[4] So public keys can only be created and distributed by a person who knows the exact quantum state he wants to create, thus who knows the sign key (This can be the sender or in more general a trustful institution).Nevertheless, in contrast to the classical public key there is an upper bound for the number of public quantum keys T which can be created, without enabling one to guess the sign key and thus endangering the security of the scheme (
n-Tm
To make sure that every recipient gets identical results when testing the authenticity of a message, public keys distributed have to be the same.This is straightforward in the classical case, because one can easily compare two classical bit strings and see if those match.Nevertheless, in the quantum state it is more complicated.To test, if two public quantum states are the same one has to compare the following
|fk'\rangle=|fk\rangle
This is done with the following quantum circuit which uses one Fredkin gate F, one Hadamard gate H and an ancilla qubit a.First of all the ancilla qubit is set to a symmetric state
|a\rangle=
1 | |
\sqrt{2 |
Right after the ancilla qubit is used as a control on the targets
|fk\rangle
|fk'\rangle
Furthermore, a Hadamard gate is applied on the ancilla qubit and finally the first qubit gets measured.If both states are the same, the result
|0\rangle
|0\rangle
|1\rangle
The calculation of the swap test in more detail:
The overall state
|\psi0\rangle=|a\rangle|fk\rangle|fk'\rangle
|\psi0\rangle=
1 | |
\sqrt{2 |
|\psi0\rangle=
1 | |
\sqrt{2 |
After the Fredkin gate is applied
⇒
1 | |
\sqrt{2 |
f_k \rangle |
After the Hadamard gate is applied on the first qubit
⇒
1 | |
2 |
[(|0\rangle+|1\rangle)|fk\rangle|fk'\rangle+(|0\rangle-|1\rangle)|fk'\rangle|fk\rangle]
After sorting for
|0\rangleand|1\rangle
⇒ |\psi\rangle=
1 | |
2 |
[|0\rangle(|fk\rangle|fk'\rangle+|fk'\rangle|fk\rangle)+|1\rangle(|fk\rangle|fk'\rangle-|fk'\rangle|fk\rangle)]
Now it is easy to see, if the states
|fk\rangle=|fk'\rangle
|\psi\rangle=|0\rangle|fk\rangle|fk\rangle
Let Person A (Alice) want to send a message to Person B (Bob).Hash algorithms won't be considered, so Alice has to sign every single bit of her message. Message-Bit b
\in\{0,1\}
Alice chooses M pairs of private keys
\{
i | |
k | |
1 |
\} 1\lei\leM
k0
k1
k\mapsto|fk\rangle
\{
i | |
|f | |
k0 |
\rangle,
i | |
|f | |
k1 |
\rangle\}
\left(n\ggTmhastohold\right)
Her level of security limits the number of identical public keys she can create
If
k0
k1
Remember: In this example Alice picks only one bit b and signs it. She has to do that for every single bit in her message
Bob now possesses
k0ork1
\{
|f | |
k0 |
\rangle,
|f | |
k1 |
\rangle\}
Now Bob calculates
|f | |
kb |
\rangle
k0ork1
After he has done so he makes use of the swap test to compare the calculated states with the received public keys.Since the swap test has some probability to give the wrong answer he has to do it for all the M keys and counts how many incorrect keys he gets r. It is obvious, that M is some kind of a security parameter. It is more unlikely to validate a bit wrong for bigger M.
One problem which arises especially for small M is, that the number of incorrect keys different recipients measure differ with probability. So to define only one threshold is not enough, because it would cause a message to be validated differently, when the number of incorrect keys r is very close to the defined threshold.
This can be prevented by defining more than one threshold.Because the number of errors increase proportional with M, the thresholds are defined like
Acceptance
Ta=c1M
Rejection
Tr=c2M
Ta
Tr
If we assume perfect channels without noise, so the bit can't be changed due to the transfer, then the threshold
Ta
Message authentication codes (MACs) mainly aim at data origin authentication, but they can also provide non-repudiation in certain realistic scenarios when a trusted third party is involved. In principle, the same idea can be exploited in the framework of quantum MACs. However, a broad class of quantum MACs does not seem to offer any advantage over their classical counterparts. [5]