State(,) function

State(n,x) is a Pspice function that has been added to Qspice based on the request by @RobW. RobW quoted the detailed explanation of State(n,x) from Pspice in this post.
Can QSPICE Simulate Converted IBIS Models Generated by emisleuth.com? - QSPICE - Qorvo Tech Forum