Cirq
stable
Installing Cirq
Tutorial
Circuits
Gates
Simulation
Schedules and Devices
Development
API Reference
Devices and Qubits
Single Qubit Gates
Two Qubit Gates
Three Qubit Gates
Other Gate and Operation Classes
Circuits and Schedules
Trials and Simulations
Magic Method Protocols
Magic Method Protocol Types
Optimization
Utilities
Experiments
Google
Testing
cirq.testing.assert_allclose_up_to_global_phase
cirq.testing.assert_circuits_with_terminal_measurements_are_equivalent
cirq.testing.assert_decompose_is_consistent_with_unitary
cirq.testing.assert_eigen_gate_has_consistent_apply_unitary
cirq.testing.assert_equivalent_repr
cirq.testing.assert_has_consistent_apply_unitary
cirq.testing.assert_has_consistent_apply_unitary_for_various_exponents
cirq.testing.assert_has_diagram
cirq.testing.assert_phase_by_is_consistent_with_unitary
cirq.testing.assert_qasm_is_consistent_with_unitary
cirq.testing.assert_same_circuits
cirq.testing.EqualsTester
cirq.testing.highlight_text_differences
cirq.testing.nonoptimal_toffoli_circuit
cirq.testing.only_test_in_python3
cirq.testing.OrderTester
cirq.testing.random_circuit
cirq.testing.random_orthogonal
cirq.testing.random_special_orthogonal
cirq.testing.random_special_unitary
cirq.testing.random_unitary
cirq.testing.TempDirectoryPath
cirq.testing.TempFilePath
Work in Progress - Noisy Channels
Work in Progress - Stabilizers
Contrib
Cirq
Docs
»
API Reference
»
cirq.testing.TempFilePath
cirq.testing.TempFilePath
¶
class
cirq.testing.
TempFilePath
[source]
¶
A context manager that provides a temporary file path for use within a
‘with’ statement.
__init__
(
)
¶
Initialize self. See help(type(self)) for accurate signature.