Skip to main content
Google Quantum AI
Software Discover
  • What is quantum computing?
  • Educational resources
Our Work
  • Roadmap
  • Quantum Computer
  • Research Publications
  • Open Source Tools
  • Cirq Documentation
About
  • Team
  • Lab
Careers
Sign in
  • Cirq
Overview Start Build Simulate Transform Hardware Noise Experiments Contribute Reference
Google Quantum AI
  • Software
    • Overview
    • Start
    • Build
    • Simulate
    • Transform
    • Hardware
    • Noise
    • Experiments
    • Contribute
    • Reference
  • Discover
    • More
  • Our Work
    • More
  • About
    • More
  • Careers
  • cirq
  • All symbols
  • cirq
    • Overview
    • ABCMetaImplementAnyOneOf
    • AbstractCircuit
    • AbstractInitialMapper
    • Alignment
    • AmplitudeDampingChannel
    • AnyIntegerPowerGateFamily
    • AnyUnitaryGateFamily
    • ApplyChannelArgs
    • ApplyMixtureArgs
    • ApplyUnitaryArgs
    • ArithmeticGate
    • AsymmetricDepolarizingChannel
    • AxisAngleDecomposition
    • BaseDensePauliString
    • BitFlipChannel
    • BitMaskKeyCondition
    • BooleanHamiltonianGate
    • CCNOT
    • CCNotPowGate
    • CCZ
    • CCZPowGate
    • CIRCUIT_LIKE
    • CNOT
    • CNotPowGate
    • CSWAP
    • CSwapGate
    • CXSWAP
    • CZ
    • CZPowGate
    • CZSWAP
    • CZTargetGateset
    • Circuit
    • CircuitDiagramInfo
    • CircuitDiagramInfoArgs
    • CircuitOperation
    • CircuitSampleJob
    • ClassicalDataDictionaryStore
    • ClassicalDataStore
    • ClassicalDataStoreReader
    • ClassicalStateSimulator
    • ClassicallyControlledOperation
    • CliffordGate
    • CliffordSimulator
    • CliffordSimulatorStepResult
    • CliffordState
    • CliffordTableau
    • CliffordTableauSimulationState
    • CliffordTrialResult
    • Collector
    • CompilationTargetGateset
    • Concat
    • Condition
    • ConstantQubitNoiseModel
    • ControlledGate
    • ControlledOperation
    • DURATION_LIKE
    • DecompositionContext
    • DensePauliString
    • DensityMatrixSimulationState
    • DensityMatrixSimulator
    • DensityMatrixStepResult
    • DensityMatrixTrialResult
    • DepolarizingChannel
    • Device
    • DeviceMetadata
    • DiagonalGate
    • Duration
    • EigenGate
    • ExpressionMap
    • FSimGate
    • FrozenCircuit
    • Gate
    • GateFamily
    • GateOperation
    • Gateset
    • GeneralizedAmplitudeDampingChannel
    • GlobalPhaseGate
    • GreedyQubitManager
    • GridDeviceMetadata
    • GridQid
    • GridQubit
    • H
    • HPowGate
    • HardCodedInitialMapper
    • HasJSONNamespace
    • Heatmap
    • I
    • ISWAP
    • ISWAP_INV
    • ISwapPowGate
    • IdentityGate
    • InsertStrategy
    • InterchangeableQubitsGate
    • JsonResolver
    • KET_IMAG
    • KET_MINUS
    • KET_MINUS_IMAG
    • KET_ONE
    • KET_PLUS
    • KET_ZERO
    • KakDecomposition
    • KeyCondition
    • KrausChannel
    • LabelEntity
    • LineInitialMapper
    • LineQid
    • LineQubit
    • LineTopology
    • LinearCombinationOfGates
    • LinearCombinationOfOperations
    • LinearDict
    • Linspace
    • ListSweep
    • M
    • MSGate
    • MappingManager
    • MatrixGate
    • MeasurementGate
    • MeasurementKey
    • MeasurementType
    • MixedUnitaryChannel
    • Moment
    • MutableDensePauliString
    • MutablePauliString
    • NOISE_MODEL_LIKE
    • NamedQid
    • NamedQubit
    • NamedTopology
    • NoiseModel
    • NoiseModelFromNoiseProperties
    • NoiseProperties
    • OP_TREE
    • OpIdentifier
    • Operation
    • PAULI_GATE_LIKE
    • PAULI_STRING_LIKE
    • ParallelGate
    • ParallelGateFamily
    • ParamDictType
    • ParamMappingType
    • ParamResolver
    • ParamResolverOrSimilarType
    • Pauli
    • PauliInteractionGate
    • PauliMeasurementGate
    • PauliString
    • PauliStringGateOperation
    • PauliStringPhasor
    • PauliStringPhasorGate
    • PauliSum
    • PauliSumCollector
    • PauliSumExponential
    • PauliSumLike
    • PeriodicValue
    • PhaseDampingChannel
    • PhaseFlipChannel
    • PhaseGradientGate
    • PhasedFSimGate
    • PhasedISwapPowGate
    • PhasedXPowGate
    • PhasedXZGate
    • PointOptimizationSummary
    • PointOptimizer
    • Points
    • Product
    • ProductOfSums
    • ProductState
    • ProjectorString
    • ProjectorSum
    • QUANTUM_STATE_LIKE
    • QasmArgs
    • QasmOutput
    • Qid
    • QuantumFourierTransformGate
    • QuantumState
    • QuantumStateRepresentation
    • QubitManager
    • QubitOrder
    • QubitOrderOrList
    • QubitPermutationGate
    • R
    • RandomGateChannel
    • ResetChannel
    • Result
    • ResultDict
    • RouteCQC
    • RoutingSwapTag
    • Rx
    • Ry
    • Rz
    • S
    • SQRT_ISWAP
    • SQRT_ISWAP_INV
    • STATE_VECTOR_LIKE
    • SWAP
    • Sampler
    • SerializableByKey
    • SimpleQubitManager
    • SimulatesAmplitudes
    • SimulatesExpectationValues
    • SimulatesFinalState
    • SimulatesIntermediateState
    • SimulatesIntermediateStateVector
    • SimulatesSamples
    • SimulationProductState
    • SimulationState
    • SimulationStateBase
    • SimulationTrialResult
    • SimulationTrialResultBase
    • Simulator
    • SimulatorBase
    • SingleQubitCliffordGate
    • SingleQubitPauliStringGateOperation
    • SparseSimulatorStep
    • SqrtIswapTargetGateset
    • StabilizerChFormSimulationState
    • StabilizerSampler
    • StabilizerSimulationState
    • StabilizerState
    • StabilizerStateChForm
    • StatePreparationChannel
    • StateVectorMixin
    • StateVectorSimulationState
    • StateVectorStepResult
    • StateVectorTrialResult
    • StepResult
    • StepResultBase
    • SumOfProducts
    • SuperconductingQubitsNoiseProperties
    • SupportsActOn
    • SupportsActOnQubits
    • SupportsApplyChannel
    • SupportsApplyMixture
    • SupportsApproximateEquality
    • SupportsCircuitDiagramInfo
    • SupportsCommutes
    • SupportsConsistentApplyUnitary
    • SupportsControlKey
    • SupportsDecompose
    • SupportsDecomposeWithQubits
    • SupportsEqualUpToGlobalPhase
    • SupportsExplicitHasUnitary
    • SupportsExplicitNumQubits
    • SupportsExplicitQidShape
    • SupportsJSON
    • SupportsKraus
    • SupportsMeasurementKey
    • SupportsMixture
    • SupportsParameterization
    • SupportsPauliExpansion
    • SupportsPhase
    • SupportsQasm
    • SupportsQasmWithArgs
    • SupportsQasmWithArgsAndQubits
    • SupportsTraceDistanceBound
    • SupportsUnitary
    • SwapPowGate
    • Sweep
    • Sweepable
    • SympyCondition
    • T
    • TRANSFORMER
    • TaggedOperation
    • TensoredConfusionMatrices
    • TextDiagramDrawer
    • ThreeQubitDiagonalGate
    • TiltedSquareLattice
    • Timestamp
    • TransformerContext
    • TransformerLogger
    • TwoQubitCompilationTargetGateset
    • TwoQubitDiagonalGate
    • TwoQubitGateTabulation
    • TwoQubitGateTabulationResult
    • TwoQubitInteractionHeatmap
    • UniformSuperpositionGate
    • VirtualTag
    • WaitGate
    • X
    • XPowGate
    • XX
    • XXPowGate
    • Y
    • YPowGate
    • YY
    • YYPowGate
    • Z
    • ZPowGate
    • ZZ
    • ZZPowGate
    • ZerosSampler
    • Zip
    • ZipLongest
    • act_on
    • add_dynamical_decoupling
    • align_left
    • align_right
    • all_near_zero
    • all_near_zero_mod
    • allclose_up_to_global_phase
    • alternative
    • amplitude_damp
    • apply_channel
    • apply_matrix_to_slices
    • apply_mixture
    • apply_unitaries
    • apply_unitary
    • approx_eq
    • asymmetric_depolarize
    • axis_angle
    • bidiagonalize_real_matrix_pair_with_symmetric_products
    • bidiagonalize_unitary_with_special_orthogonals
    • big_endian_bits_to_int
    • big_endian_digits_to_int
    • big_endian_int_to_bits
    • big_endian_int_to_digits
    • bit_flip
    • bloch_vector_from_state_vector
    • block_diag
    • canonicalize_half_turns
    • choi_to_kraus
    • choi_to_superoperator
    • chosen_angle_to_canonical_half_turns
    • chosen_angle_to_half_turns
    • circuit_diagram_info
    • cirq_type_from_json
    • commutes
    • compute_cphase_exponents_for_fsim_decomposition
    • control_keys
    • cphase
    • create_transformer_with_kwargs
    • dataclass_json_dict
    • decompose
    • decompose_clifford_tableau_to_operations
    • decompose_cphase_into_two_fsim
    • decompose_multi_controlled_rotation
    • decompose_multi_controlled_x
    • decompose_once
    • decompose_once_with_qubits
    • decompose_two_qubit_interaction_into_four_fsim_gates
    • deconstruct_single_qubit_matrix_into_angles
    • defer_measurements
    • definitely_commutes
    • density_matrix
    • density_matrix_from_state_vector
    • density_matrix_kronecker_product
    • dephase_measurements
    • depolarize
    • diagonalize_real_symmetric_and_sorted_diagonal_matrices
    • diagonalize_real_symmetric_matrix
    • dict_to_product_sweep
    • dict_to_zip_sweep
    • dirac_notation
    • dot
    • draw_gridlike
    • draw_placements
    • drop_empty_moments
    • drop_negligible_operations
    • drop_terminal_measurements
    • eject_phased_paulis
    • eject_z
    • entanglement_fidelity
    • equal_up_to_global_phase
    • estimate_parallel_single_qubit_readout_errors
    • estimate_single_qubit_readout_errors
    • expand_composite
    • expand_matrix_in_orthogonal_basis
    • eye_tensor
    • fidelity
    • final_density_matrix
    • final_state_vector
    • flatten
    • flatten_op_tree
    • flatten_to_ops
    • flatten_to_ops_or_moments
    • flatten_with_params
    • flatten_with_sweep
    • freeze_op_tree
    • generalized_amplitude_damp
    • get_placements
    • get_state_histogram
    • givens
    • global_phase_operation
    • has_kraus
    • has_mixture
    • has_stabilizer_effect
    • has_unitary
    • hilbert_schmidt_inner_product
    • hog_score_xeb_fidelity_from_probabilities
    • identity_each
    • index_tags