Summary
In this chapter, we looked at the basics of quantum gates and quantum circuits. Quantum circuits provide you with a unique opportunity to practice tensor products and work with complex numbers. We worked with simple matrices and showed how unitary matrices represent quantum gates. First, we experimented with a single-qubit system and looked at an example of encoding the time on a single qubit. Then, we learned how a quantum circuit with multiple qubits can be represented by tensor products and matrix multiplication, which leads to simulated results. Amazon Braket provides its own set of simulators that can take gate circuit instructions and provide the resulting probabilities. We saw that by using Amazon Braket simulators, it is possible to simulate considerably large circuits. Even though these classical resources take time, it will be advantageous to build up your skills to solve problems with these simulators while better quantum computers are developed that have been scaled...