def sample(self, gate: ops.Gate, prng: np.random.Generator) -> ConstantGauge:
        """Returns a ConstantGauge sampled from a family of gauges.

        Args:
            gate: The two qubit gate to replace.
            prng: A numpy random number generator.

        Returns:
            A ConstantGauge.
        """
Returns a ConstantGauge sampled from a family of gauges.

        Args:
            gate: The two qubit gate to replace.
            prng: A numpy random number generator.

        Returns:
            A ConstantGauge.
        
cirq-core/cirq/transformers/gauge_compiling/gauge_compiling.py