Quantum Computing, Quantum, Quantum Physics, Computer Science, AI.
np.linalg.norm(right_hand_side) # Construct the initial state circuit num_qubits = matrix.num_state_qubits qc = QuantumCircuit(num_qubits) qc.isometry(rhs, list(range(num_qubits)), None) # Use the HHL algorithm to solve the system of linear equations hhl = HHL() solution = hhl.solve(matrix, qc,