A quantum error-mitigation technique that randomizes gate errors to make them more uniform and easier to characterize.