![]() |
Ensure equivalence of basis state mapping.
cirq.testing.assert_equivalent_computational_basis_map(
maps: dict[int, int], circuit: circuits.Circuit
)
Raises | |
---|---|
AssertionError
|
Raised in case any basis state is mapped to the wrong basis state. |
![]() |
Ensure equivalence of basis state mapping.
cirq.testing.assert_equivalent_computational_basis_map(
maps: dict[int, int], circuit: circuits.Circuit
)
Raises | |
---|---|
AssertionError
|
Raised in case any basis state is mapped to the wrong basis state. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-23 UTC.