https://twtbit.com/2023/07/08/assertion-a-neither-q-nor-w-is-state-function-but-qw-is-state-function-re/