Skip to content

Commit b5c0f80

Browse files
authored
Rename channel.py to kraus.py (#4204)
Follow-up to #4139 and #4195. Fixes #4138.
1 parent 6af64a2 commit b5c0f80

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

cirq-core/cirq/protocols/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
approx_eq,
3939
SupportsApproximateEquality,
4040
)
41-
from cirq.protocols.channel import (
41+
from cirq.protocols.kraus import (
4242
channel,
4343
kraus,
4444
has_channel,

cirq-core/cirq/protocols/apply_channel_protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
apply_unitary,
2525
ApplyUnitaryArgs,
2626
)
27-
from cirq.protocols.channel import kraus
27+
from cirq.protocols.kraus import kraus
2828
from cirq.protocols import qid_shape_protocol
2929
from cirq.type_workarounds import NotImplementedType
3030

cirq-core/cirq/protocols/channel_test.py renamed to cirq-core/cirq/protocols/kraus_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Tests for channel.py."""
15+
"""Tests for kraus.py."""
1616

1717
from typing import Iterable, Sequence, Tuple
1818

0 commit comments

Comments
 (0)