Hi there! Hope you’re doing well.
It seems like the explanation preceding Codercise I.13.4 may contain old code.
It says to use 'qml.MultiControlledX(control_wires=[0, 1, 2], wires=4, control_values="001")
`
but this gave me an error: Error: MultiControlledX.__init__() got an unexpected keyword argument 'control_wires'.
Using qml.MultiControlledX(wires=[0, 1, 2, 3], control_values=[0, 0, 1])
works.
Thanks!