Quantum Computers and Brahmagupta — yes the two go together!
Podcast Transcript and Blog
I’m going to start my podcast with a digression because today I read exciting news. The National science foundation has awarded the University of California Berkeley $25 million to create a multi-university institute that will advance quantum science to create quantum computers. This news excites me because it’s going to take math to a whole new level and make it powerful beyond numbers and words. Though quantum computing is young, the opportunities that it presents are truly mind-blowing.
Unlike the conventional computers that we use today, where information is stored as bits, quantum computers store information and data as qubits, also known as quantum bits. You see, the computer that you use today is streaming electrical pulses that represent ones or zeros. Though quantum computers also use zeros and ones, they also use superposition and entanglement to create a third state of qubits that represent a zero and a one simultaneously.
We do not have quantum computers for public use yet because we still are executing computational operations on a small number of qubits. Furthermore, these processes require a computer to operate at negative 460 degrees Fahrenheit, also known as negative 273 degrees Celsius, also known as zero Kelvin.
Quantum computers are going to be the future of computing. Used today, they can solve problems that would take a conventional computer billions of years to solve because they are thousands of times faster. Because of their power, they will be able to break encryptions. However, also because of their power, they will be able to create unhackable systems. Also, instead of using electricity, as our conventional computers do, quantum computers use quantum tunneling for power. As a result, quantum computers will reduce the consumption of power that a computer generates. But, to me, the most exciting thing that a quantum computer can do is find a product representation for the solution of Pell’s equation in polynomial time. Polynomial-time is the time it takes to do a computation, depending on the amount of inputted data. That is actually irrelevant to this podcast, but it’s good to know for interesting party conversation.
What is relevant is that a quantum computer can find a product representation for the solution of Pell’s equation. You see, Pell’s equation, also known as the Pell-Fermat equation is any Diophantine equation of the form
x^2 -ny^2 =1
Where the variable n represents a positive nonsquare integer. In this equation, solutions are solved for x and y. When it’s presented in Cartesian coordinates and n is positive, it is shown as a hyperbola.
When n is negative, it is an ellipse.
This particular equation, according to Joseph Lagrange, has infinite integer solutions as long as the variable n is not a perfect square, and x and y are integers.
Though Diophantine equations have been around since the mathematician Diophantus presented his work called Arithmetica around 250 CE. However, it wasn’t until 628 when Brahmagupta discovered an integer solution to this equation where n=92.
Brahmagupta was a tremendous mathematician. The world-renowned science historian, George Sarton, stated that Brahmagupta was “one of the greatest scientists of his race and the greatest of all time.”
Brahmagupta was born in 598 CE in India. In 628, he wrote and improved Treatise of Brahma called Brahmasphutasiddhānta. The book consists of 24 chapters and has 1008 verses. It includes astronomy, algebra, geometry, trigonometry, and algorithmics. The solution to the referenced Diophantine equation is found in chapter 18 of Brahmasphutasiddhānta. Though it seems like a simple process today, he was solving for large numbers using Diophantus’s process of syncopated algebra, which was the process of using simple symbolism before it evolved into symbolic algebra. As a result, Brahmagupta’s time, he only had symbols that represented exponents, subtraction, and an equal sign. Symbolic algebra wouldn’t be used until the sixteenth century.
The contribution of Brahmagupta’s work to mathematics is extensive. For example, in arithmetic, we have four fundamental operations, which are addition, subtraction, multiplication, and division. Even though these fundamental operations had been around for centuries, the current system that we know is based on the Hindu Arabic number system, and it appeared in Brahmasphutasiddhānta.
And speaking of zeros and ones, Brahmasphutasiddhānta was the first existing book that treated zero as a number and not just a placeholder. Before this, in Ptolemaic mathematics, zero was only used as a placeholder. However, though Brahmagupta is contributed to treating zero as a number, in 2017, research uncovered an Indian manuscript the dates as far back as 200 CE. It showed the use of zero as a number. Regardless, we would not have been introduced to this concept if it wasn’t for the work that Brahmagupta presented in Brahmasphutasiddhānta.
Brahmagupta was also one of the first to provide rules for adding and multiplying negative numbers.
All of this played into several rules that showed that the sum of two positives are positive:
1+1=2
The sum of two negatives are negative:
(-1)+(-1)=-2
The sum of a positive and a negative is the difference:
(-1)+3=2
And if the sum of a positive and a negative are equal, the answer is zero:
(-3)+3=0
Brahmagupta also described the process of zero and negative numbers in multiplication. He showed that the product of a negative and a positive is negative:
2 \times -2=-4
The product of two negatives is positive:
-2 \times-2=4
The product of two positives is positive:
2 \times 2=4
He also showed that the product of zero and a negative is zero:
0 \times -2=0
And the product of zero and a positive is also zero:
0 \times 2=0
For the sides of the right-angled triangle, he presented two sets of Pythagorean triples, which were:
2mn, m^2-n^2, and\space m^2+n^2
and
\sqrt m, \space \frac{1}{2}(\frac{m}{n}-m), \space and \space \frac{1}{2}(\frac{m}{n}+m)
In geometry, he created an exact formula for finding the area of cyclic quadrilaterals. A cyclic quadrilateral is a quadrilateral that is inscribed within a circle where all the vertices sit on the single circle.[i]
That formula showed that the area of any quadrilateral whose sides are a, b, c, d is
Area= \sqrt{\smash[b]{(s-a)(s-b)(s-c)(s-d)}}
Where
s=\frac{1}{2}(a+b+c+d)
His work with cyclic quadrilaterals led to Brahmagupta’s famous theorem, which stated that if a cyclic quadrilateral has perpendicular diagonals, then the perpendicular to a side from a point of intersection of the diagonals bisects the opposite side.[ii]
In other words, for the following image:
\overline{BD}\perp \overline{AC}, \space \overline{EF}\perp \overline{BC}\implies\ |\overline{AF}|=|\overline{FD}|
In astronomy, though Brahmagupta believed that the sun orbited the Earth, he presented an argument for showing that the moon is closer to the Earth than the Sun.
The evolution of mathematics is such a beautiful one. Brahmagupta’s work helped to speed up the calculation process of the Diophantine equation. Today we begin to move forward into a new chapter of quantum computing, as the process of crunching large numbers and data becomes faster and easier. Though Moore’s law is becoming outdated, and though we have many problems to correct including noise and error correction, and though we may not see quantum computers for a while, and though it is highly likely that quantum computers may not outpace or even replace conventional computers, initially, we are stepping into a new chapter where even our fastest computers today will become antiquated. With this progress, the numbers that we understand today may change by definition and representation. As a result, as mathematicians and scientists, we stand at a place in time that serves as a marker for the future of mathematics. Yeah! We stand along a linear path, specifically at that point between history and the future, where we can see all that brought us here mathematically, and all that will take us to greater understandings. It sounds a bit dramatic and poetic…but it also sounds very exciting!
[i]. David E. Smith, History of Mathematics (North Chelmsford: Courier Corporation, 1958), 158.
[ii]. Michael J. Bradley, The Birth of Mathematics: Ancient Times To 1300 (New York: Infobase Publishing, 2006), 70.