Checks that act_on with CliffordTableau or StabilizerStateCHForm behaves
consistently with acton through final state vector. Does not work with
Operations or Gates expecting non-qubit Qids. If either of the
assert*_implemented args is true, fails if the corresponding method is not
implemented for the test circuit.
Args
val
A gate or operation that may be an input to protocols.act_on.
assert_tableau_implemented
asserts that protocols.act_on() works with
val and CliffordTableauSimulationState inputs.
assert_ch_form_implemented
asserts that protocols.act_on() works with
val and StabilizerChFormSimulationState inputs.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-08 UTC."],[],[]]