Calculating the Transformation Matrix

Learn how we can calculate the transformation matrix.

We'll cover the following

Calculate the transformation matrix

In line 4, we create the QuantumCircuit with two qubits. Then, in lines 7 and 8, we apply the XX-gate to the one qubit and the HH-gate to the other.

Get hands-on with 1200+ tech skills courses.