Skip to main content
Ctrl+K
Qualtran  documentation - Home Qualtran  documentation - Home
  • Fundamentals
  • Bloqs Library
  • API Reference
  • GitHub repository
  • Fundamentals
  • Bloqs Library
  • API Reference
  • GitHub repository

Section Navigation

  • Module: qualtran

qualtran

  • AddControlledT
  • Adjoint
  • BQUInt
  • Bloq
  • BloqBuilder
  • BloqDocSpec
  • BloqError
  • BloqExample
  • BloqInstance
  • CBit
  • CDType
  • CompositeBloq
  • Connection
  • ConnectionT
  • Controlled
  • CtrlSpec
  • DanglingT
  • DecomposeNotImplementedError
  • DecomposeTypeError
  • DidNotFlattenAnythingError
  • GateWithRegisters
  • QAny
  • QBit
  • QCDType
  • QDType
  • QDTypeCheckingSeverity
  • QFxp
  • QGF
  • QGFPoly
  • QInt
  • QIntOnesComp
  • QMontgomeryUInt
  • QUInt
  • Register
  • Side
  • Signature
  • Soquet
  • bloq_example
  • check_dtypes_consistent
  • Module: cirq_interop
  • Module: drawing
  • Module: linalg
  • make_ctrl_system_with_correct_metabloq
  • Module: resource_counting
  • Module: serialization
  • Module: simulation
  • Module: surface_code
  • Module: symbolics
  • Module: testing

testing

  • BloqCheckException
  • BloqCheckResult
  • NDArray
  • assert_bloq_example_decompose
  • assert_bloq_example_make
  • assert_bloq_example_qtyping
  • assert_bloq_example_serializes
  • assert_connections_compatible
  • assert_connections_consistent_qdtypes
  • assert_consistent_classical_action
  • assert_equivalent_bloq_counts
  • assert_equivalent_bloq_example_counts
  • assert_registers_match_dangling
  • assert_registers_match_parent
  • assert_soquets_belong_to_registers
  • assert_soquets_used_exactly_once
  • assert_valid_bloq_decomposition
  • assert_valid_cbloq
  • assert_wire_symbols_match_expected
  • check_bloq_example_decompose
  • check_bloq_example_make
  • check_bloq_example_qtyping
  • check_bloq_example_serializes
  • check_equivalent_bloq_example_counts
  • execute_notebook

drawing

  • Circle
  • ClassicalSimGraphDrawer
  • GraphDrawer
  • GraphvizCallGraph
  • HLine
  • LarrowTextBox
  • LineManager
  • ModPlus
  • MusicalScoreData
  • PrettyGraphDrawer
  • RarrowTextBox
  • RegPosition
  • Text
  • TextBox
  • VLine
  • WireSymbol
  • Module: bloq_counts_graph
  • Module: classical_sim_graph
  • directional_text_box
  • draw_musical_score
  • dump_musical_score
  • Module: flame_graph
  • format_counts_graph_markdown
  • format_counts_sigma
  • get_musical_score_data
  • Module: graphviz
  • Module: musical_score
  • Module: qpic_diagram
  • show_bloq
  • show_bloq_via_qpic
  • show_bloqs
  • show_call_graph
  • show_counts_sigma
  • show_flame_graph

resource_counting

  • BloqCount
  • BloqCountDictT
  • BloqCountT
  • CostKey
  • GateCounts
  • GeneralizerT
  • MutableBloqCountDictT
  • QECGatesCost
  • QubitCount
  • SuccessProb
  • SympySymbolAllocator
  • big_O
  • build_cbloq_call_graph
  • Module: classify_bloqs
  • format_call_graph_debug_text
  • Module: generalizers
  • get_bloq_call_graph
  • get_bloq_callee_counts
  • get_cost_cache
  • get_cost_value
  • query_costs
  • Module: t_counts_from_sigma

cirq_interop

  • BloqAsCirqGate
  • CirqGateAsBloq
  • CirqGateAsBloqBase
  • CirqQuregT
  • cirq_gate_to_bloq
  • cirq_optree_to_cbloq
  • decompose_from_cirq_style_method
  • Module: decompose_protocol
  • Module: t_complexity_protocol

simulation

  • Module: classical_sim
  • Module: tensor

surface_code

  • AlgorithmSummary
  • CCZ2TFactory
  • CompactDataBlock
  • ConstantWithOverheadRotationCost
  • DataBlock
  • FastDataBlock
  • FifteenToOne
  • IntermediateDataBlock
  • LogicalErrorModel
  • MagicStateFactory
  • MultiFactory
  • PhysicalCostModel
  • PhysicalCostsSummary
  • PhysicalParameters
  • QECScheme
  • RotationCostModel
  • RotationLogarithmicModel
  • SimpleDataBlock
  • Module: algorithm_summary
  • Module: ccz2t_factory
  • Module: data_block
  • Module: fifteen_to_one_factory
  • get_ccz2t_costs
  • get_ccz2t_costs_from_error_budget
  • get_ccz2t_costs_from_grid_search
  • Module: gidney_fowler_model
  • iter_ccz2t_factories
  • iter_simple_data_blocks
  • Module: magic_state_factory
  • Module: multi_factory
  • Module: physical_cost_model
  • Module: physical_cost_summary
  • Module: physical_parameters
  • Module: qec_scheme
  • Module: rotation_cost_model
  • Module: t_factory_utils

symbolics

  • HasLength
  • Shaped
  • SymbolicComplex
  • SymbolicFloat
  • SymbolicInt
  • acos
  • bit_length
  • ceil
  • floor
  • is_symbolic
  • is_zero
  • ln
  • log2
  • Module: math_funcs
  • pi
  • prod
  • sabs
  • sarg
  • sconj
  • sexp
  • shape
  • slen
  • smax
  • smin
  • ssqrt
  • ssum
  • Module: types

musical_score

  • HLineFlavor
  • MusicalScoreEncoder
  • SoqData
  • frozen

graphviz

  • TypedGraphDrawer

flame_graph

  • get_flame_graph_data
  • get_flame_graph_svg_data

qpic_diagram

  • QpicCircuit
  • QpicWireManager
  • get_qpic_data
  • qpic_diagram_for_bloq
  • qpic_input_to_diagram

generalizers

  • cirq_to_bloqs
  • generalize_cswap_approx
  • generalize_cvs
  • generalize_rotation_angle
  • ignore_alloc_free
  • ignore_cliffords
  • ignore_split_join

classify_bloqs

  • bloq_is_clifford
  • bloq_is_rotation
  • bloq_is_state_or_effect
  • bloq_is_t_like
  • classify_bloq
  • classify_t_count_by_bloq_type

t_counts_from_sigma

  • t_counts_from_sigma

t_complexity_protocol

  • TComplexity
  • t_complexity
  • t_complexity_compat

decompose_protocol

  • DecomposeResult

classical_sim

  • ClassicalSimState
  • ClassicalValDistribution
  • ClassicalValRetT
  • ClassicalValT
  • MeasurementPhase
  • PhasedClassicalSimState
  • add_ints
  • call_cbloq_classically
  • do_phased_classical_simulation
  • format_classical_truth_table
  • get_classical_truth_table

tensor

  • DiscardInd
  • active_space_for_ctrl_spec
  • bloq_has_custom_tensors
  • bloq_to_dense
  • bloq_to_dense_via_classical_action
  • cbloq_to_quimb
  • cbloq_to_superquimb
  • eye_tensor_for_signature
  • flatten_for_tensor_contraction
  • initialize_from_zero
  • my_tensors_from_classical_action
  • quimb_to_dense
  • tensor_data_from_unitary_and_signature
  • tensor_out_inp_shape_from_signature
  • tensor_shape_from_signature

t_factory_utils

  • NoisyPauliRotation
  • storage_error

types

  • TypeIs
  • API Reference
  • acos

acos#

View source on GitHub

View aliases

Main aliases

`qualtran.symbolics.math_funcs.acos`

qualtran.symbolics.acos(
    x: qualtran.symbolics.SymbolicFloat
) -> qualtran.symbolics.SymbolicFloat

previous

SymbolicInt

next

bit_length

This Page

  • Show Source

© Copyright 2023, Google LLC.

Created using Sphinx 8.1.3.

Google Quantum AI

Built with the PyData Sphinx Theme 0.16.1.