User:Neospace125/sandbox
In the near era, there are several applications and adaptation of technology, especially, a computer and a computational technology. A development of these technologies are separated but they have the same destination. That is, how to improve an efficiency of computation ? In a scientific way, there are two significant ways, classical algorithm and quantum algorithm. In this article, we consider a quantum algorithm directly.
Quantum supremacy via Random circuit sampling
[edit]There was a promise of quantum computer since Richard P. Feynman said "A quantum computer might be exponentially better than a classical computer in a solving problems in physics and chemistry"[1]. Given this statement, A physicist and a computer scientist use more times to characterize a super algorithm that demonstrates a task to solve a computational problem in a quantum way. That is, a physicist tries to use quantum information theory together with quantum mechanics principles to demonstrate a better algorithm than classical algorithms immediately.
Literally, a quantum supremacy or quantum advantage, first announced by John Preskill,[2] is a task to state that a quantum algorithm conquers a classical algorithm. That is, no classical algorithm can solve a problem without a quantum algorithm that we demonstrated. Here is the definition of quantum supremacy defined by John Preskill,
Quantum supremacy is a goal to find a problem that a quantum algorithm is better than every classical algorithms. A quantum computer is said to be better than classical computer for solving some problems whenever we can show that some parameters in quantum computer is better than classical computer (or algorithm).
One famous scenario is a use of quantum circuit. That is, a random circuit sampling (see also. [3]). Usually denote as . From the definition, that is, we have to compare some parameters between quantum and classical.
Random circuit sampling
[edit]From the previous section, We already had a great tool to study quantum physics so - called quantum circuit, a circuit which has an input as a quantum state instead of classical bits, namely, qubits. A quantum circuit is represented by a unitary quantum gate using to operate an input state for each Hilbert space. We can graphically represent a quantum circuit like a classical circuit. Commonly, a random quantum circuit is a quantum circuit that randomly draws a unitary quantum gate from a gates set.
In this section, we will describe a task of a random circuit sampling. a random circuit chooses gates from a gates set and then applies them to register states.
In general, we fix a size of quantum circuit follow registers. For a circuit size ( - qubits register). That is, A quantum system in dimensional Hilbert space , we can denote a circuit family use in this circuit as . Now we can demonstrate a task of random circuit sampling (quantum version) using this scenario directly,
Suppose the classical sample space consists of the possible measurement outcomes of any quantum circuit with a fixed size which is chosen from a circuit family with the output distribution . The initial state of a circuit is . Hence, the probability of an outcome , where is bitstrings with a length ,
where is a circuit or the other name, unitary operator in a circuit. However, we can obtain this task more general. That is, set an initial state as an arbitrary state .[4]
From above task, we may familiarized ourselves with a notation of circuit as a quantum gate. That is, a unitary operator .
In term of quantum supremacy protocol, we have demonstrated a new assumption of random quantum circuit. From a task above, we can sketch a random quantum circuit from a uniform sampling of unitary operators. Hence, we may write a subscription of probability in a task in form .
How to characterize a supremacy via random circuit sampling ?
[edit]There are several methods for characterizing a quantum supremacy. One of the most famous method is a cross entropy benchmarking via random circuit sampling[5] method. In this section, we will dive into a demonstrating quantum supremacy step by step.
Characterized parameters
In the first step, we have to denote parameters to use in this consideration. From the previous task we demonstrated, we have to construct two algorithms. That is, one is a quantum algorithm and other classical algorithms.
From a task of random circuit sampling [4][6] Cite error: There are <ref>
tags on this page without content in them (see the help page)., we can construct a quantum algorithm generally by considering an initial state as which is always evolved by a random unitary operator . That is, . Set an attempt to set up a random circuit sampling generally; sample bitstrings like in a task. Then, denote a probability for each
classical bitstrings. From a task, a quantum circuit has copy of qubits. Hence, we obtain a set of bitstrings . A nature of non - correlated quantum systems, independent Hilbert space, the bitstrings are exactly independent random variables. Hence, we can obtain a probability for a sample as follow,
This probability is a probability of measurement outcomes via quantum algorithms. That is, a classical algorithms we can do the same but in a classical way. Roughly speaking, obtain a state and a random unitary operator from a classical simulation. So, . Since we can obtain a set of bitstrings, classically we can obtain . On the same way of considering probability, we obtain,
Now, we have two probabilities of the outcomes of two difference version of algorithms. The fact of a quantum circuit is that a state space of a circuit is exponential in . Thus, a perfect simulation in classical computer is a hard problem to solve. Hence, we assume a complexity of classical algorithm is polynomial in . More clearly, the sample is drawn from an approximation of the actual quantum circuit that does not scale appropriately as we increase the number of qubits exponentially.[6]
The intuition is that what will happen if we obtain the sample if we already had a perfect representation of the circuit's output state ? This probability of measurement outcome is obtained by computing , where represents the perfect output state.
Hence, we can directly compare a probability to the probability .
Now, from research article of Sergio Boixo [5], they obtain an equation to quantify a comparing of these two probabilities as follow,
where is a number of sampled bitstrings and is an expectation value taken over an ensemble of random unitary operators which drawn effectively from the Haar measure. And, is an estimate of the effective per-gate error rate, is the total number of gates where is a circuit depth. [5] [6] These parameters told us that why this formula can achieve a quantum supremacy themselves.
This equation told us that if a quantum algorithm has per - gate error rate low enough and perform the sampling experiments described above for a large set of random unitary operator , there exist an expectation value that .[5] That is, this equation checks an (algorithm) efficiency between quantum algorithm and classical algorithm that we provided. Then we have to approximate a probability by using the Porter - Thomas distribution. Denote the probability density function over the continuous variable for some state obtained from a circuit, then,
Hence, we got the expectation value in form of continuous variable,
You can see a full derive of Porter - Thomas distribution in [6] and this is a sketch of proof,
- Write down a random wavefunction in Hilbert space in computational basis,[6]
where the normalization condition is
- Count the number of normalized states with and consider a volume of Hilbert space where a state of volume satisfies only the number of normalized states and the normalization condition.
- Follow above condition, we can consider a subspace of Hilbert space via overall Hilbert space; the volume of the space of normalized states with and dividing by the volume of the subspace with only normalized states. This give us a probability density function . Hence
where is the subspace with normalized states of probability and is the subspace of normalized states.
- Compute integral form of these two volumes,
- Then, we got volumes,
- Hence, we got a probability density function,
- Limit a large , we finally got an approximation,
This is a form of Porter - Thomas distribution.
Then, a way to derive the expectation value we presented above is to use a property which called asymptotic equipartition property.[7]
Asymptotic equipartition property
There is an exact definition of this property. We will describe below, [6]
For any , a set of bitstrings of size is epsilon - typical if holds :
where is the information entropy.
However, there is another theorem in use for a proof, [6]
Let denote the set of all (a set of samples) that are epsilon - typical. Then for all , we have,
where is the probability that is contained in the epsilon - typical set.
Use these scenarios we then obtain that, [6]
For large , the entropy can be evaluate into a form,
That is,
where is Euler's constant.
Then, we dive to a classical sampling, we will claim a useful definition and another theorem to evaluate it.
For any , a set of bitstrings of size is cross epsilon - typical (use the same name which denoted in [6]) if holds:
where is the cross entropy, defined by:
Similar like a quantum case, we first obtain,
Let denote the set of all that are cross epsilon - typical. Then for all , obtain as follow,
where is the probability that is contained in the cross epsilon - typical set.
Again, use these scenarios to evaluate . We obtain that,
These results easily obtain a formula of quantum supremacy protocol we described above.[6] Next, we will demonstrate quantum supremacy via these scenarios.
Characterized quantum supremacy
One of the most famous quantum supremacy benchmarking is cross entropy benchmarking.[5] Suppose a classical algorithm has outputs from a uniform distribution over all bitstrings. That is, . From a cross entropy benchmarking, we can directly consider this compare with a random quantum circuit in quantum algorithms,
A comparison of algorithms we used in this scenario has to have a rigorous perfect sample. We have to suppose an algorithm with outputs distribution which we are testing and the outputs distribution for ideal outputs distribution Using the cross entropy difference.[5][6]
Hence, we can write down a new form of cross entropy difference using formulas from above,
If we consider a worst case of algorithm ,then the outputs distribution is (uniform distribution). That is, we obtain . However, the best case scenario can be easily verified, . This case will give a result of cross entropy difference as .<rev name = ":3" />
This scenario is called cross entropy benchmarking because two algorithms can be compared directly by this scenario and can be claimed which algorithm is better. Hence, if we suppose the best classical algorithm as then we use this scenario to compare with a quantum algorithm. That is, if a quantum algorithm is better than the best algorithm using this criteria, we can declare that this quantum algorithm is better than classical algorithm. The quantum supremacy is completed. However, in a mathematical term, we have to suppose the outputs distribution of a quantum algorithm as and then compute the cross entropy difference of this outputs distribution and repeat this computation. After more enough, compute this parameter,[5][6]
Finally, we suppose an expectation value of the best possible classical algorithm . Quantum supremacy is completely achieved when,
This is only one scenario of quantum supremacy protocol we recent use in quantum information and quantum computing research area.
References
[edit]- ^ Feynman, Richard P. (7 May 1982). "Simulating physics with computers". International Journal of Theoretical Physics. 21: 467 - 488. doi:10.1007/BF02650179.
- ^ Preskill, John (10 November 2012). "QUANTUM COMPUTING AND THE ENTANGLEMENT FRONTIER". arXiv:1203.5813 [quant-ph].
- ^ Matthew, P. A. Fisher; Khemani, Vedika; Nahum, Adam; Vijay, Sagar (10 November 2012). "Random Quantum Circuits". arXiv:2207.14280 [quant-ph].
- ^ a b Hangleiter, Dominik; Eisert, Jens (10 March 2023). "Computational advantage of quantum random sampling". arXiv:2206.04079v4 [quant-ph].
- ^ a b c d e f g Boixo, S.; et al. (2018). "Characterizing Quantum Supremacy in Near-Term Devices". Nature Physics. 14 (6): 595–600. arXiv:1608.00263. Bibcode:2018NatPh..14..595B. doi:10.1038/s41567-018-0124-x. S2CID 4167494.
- ^ a b c d e f g h i j k l Mullane, Sean (10 July 2020). "Sampling random quantum circuits: a pedestrian's guide". arXiv:2007.07872v1 [quant-ph].
- ^ Weissman, Tsachy (18 January 2018), Lecture 4: Asymptotic Equipartition Property (PDF), Stanford University.