measurement projecting the cluster state sequentially, and use the "DensityMatrix" property to have a state to compare without global phases. Simplify symbolically (the 8 is for normalization):
The extra Hadamard gate is not a problem because if the initial state is |0〉 the sequences of gates are H RZ(α) RX(β) RZ(γ) H which are equivalent to RX(α) RZ(β) RX(γ). That also is a valid way to describe an arbitrary transformation: