P.2.2 qml.T and qml.S incorrect values in Codebook?

All I’m getting when I submit my code for P.2.2 and P.2.3 is
Incorrect: the extracted state does not match the input state.

Unsure if this is related, but by doing a bunch of logging, I realized that

print(qml.T.compute_matrix())
print(qml.S.compute_matrix())

outputs

[[ 1.+0.00000000e+00j  0.+0.00000000e+00j]
 [ 0.+0.00000000e+00j -1.+3.58760778e-16j]]
[[1.+0.j 0.+0.j]
 [0.+0.j 1.-0.j]]

which seem like incorrect values for T and S. Printing qml.PhaseShift.compute_matrix(np.pi/4) gives the correct value of T:

[[1.        +0.j         0.        +0.j        ]
 [0.        +0.j         0.70710678+0.70710678j]]

If I install pennylane (tested both 0.41.0 and 0.41.1) on my machine, I get the correct matrices. I get these incorrect matrices in other Codebook exercises.

Getting correct answers now. Not sure what changed.

Hi @RShields, welcome to the forum!
We are currently getting prepared for a new PennyLane release and a few things on the Codebook could have been affected by this.
Let us know if any errors persist. Thank you!