quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.24k stars 1.01k forks source link

CI - prevent duplicate message names in the same java namespace #6745

Open pavoljuhas opened 2 days ago

pavoljuhas commented 2 days ago

Description of the issue

Problem

The current proto definitions in cirq_google/api/v2 contain duplicate message names CZPowGate and InternalGate which get exported to the same java_package namespace. This causes broken builds for internal projects that use these protos in java form.

Proposed Solution

Cirq version

1.5.0.dev at 756abe31d9b1aba6a7073253852cb0151d51cbef