Allow customise public protocol for quantum