We're celebrating World Quantum Day 2022! Join us


Creates a Callable gate set validator with a set message size.

This validator can be used for a validator in cg.ValidatingSampler and can also be useful in generating 'engine emulators' by using cg.SimulatedLocalProcessor with this callable as a gate_set_validator.

max_size proto size limit to check against.

Returns: Callable to use in validation with the max_size already set.