Author: Joana Fraxanet (Xanadu Resident)

How to do measurements in PennyLane

Category: how-to | Author: Joana Fraxanet (Xanadu Resident)
When using PennyLane to design quantum circuits we need to consider both the sequence of gates that we want to apply and also the kind of output that we want to obtain. At the end of the day, we will get back a quantity through a specific measurement. In this how-to, we go through the different type of measurements offered by PennyLane and we discuss when to use them.