Google Quantum AI
Software
  • Tools for quantum computing research and development
  • Learn about our software stack and available resources to help you with your work
  • See all tools
  • Programming framework
  • Cirq
    An open source Python framework and simulators for writing, optimizing, and running quantum programs
  • Computing service
  • Quantum Computing Service
    The platform enabling researchers to access beyond-classical computational resources
  • Libraries and extensions
  • OpenFermion
    The electronic structure package for quantum computers
  • qsim
    Schrödinger and Schrödinger-Feynman simulators for quantum circuits
  • TensorFlow Quantum
    A library for hybrid quantum-classical machine learning
Hardware Research
  • Overview
  • Publications
  • Conferences
  • Outreach
  • Diversity
Education Team
  • Overview
  • Careers
  • qsim
Overview Guide & Tutorials Python Reference C++ Reference
Google Quantum AI
  • Software
    • More
    • Overview
    • Guide & Tutorials
    • Python Reference
    • C++ Reference
  • Hardware
  • Research
    • More
  • Education
  • Team
    • More
  • All Symbols
  • qsim
    • Overview
    • Classes
      • CircuitQsimParser
      • SimulatorAVX
      • SimulatorBasic
      • SimulatorSSE
      • StateSpace
      • StateSpace::MeasurementResult
      • StateSpaceAVX
      • StateSpaceBasic
      • StateSpaceSSE
    • Structs
      • BasicGateFuser
      • BasicGateFuser::Parameter
      • Circuit
      • Gate
      • GateCNot
      • GateCP
      • GateCZ
      • GateFS
      • GateFused
      • GateHd
      • GateHZ2
      • GateId1
      • GateId2
      • GateIS
      • GateRX
      • GateRXY
      • GateRY
      • GateRZ
      • GateS
      • GateSwap
      • GateT
      • GateX
      • GateX2
      • GateY
      • GateY2
      • GateZ
      • HybridSimulator
      • HybridSimulator::HybridData
      • HybridSimulator::Parameter
      • IO
      • IOFile
      • ParallelForT
      • QSimHRunner
      • QSimRunner
      • QSimRunner::Parameter
      • SequentialFor
  • qsim::Cirq
    • Overview
    • Structs
      • CCX
      • CCXPowGate
      • CCZ
      • CCZPowGate
      • CSwapGate
      • CX
      • CXPowGate
      • CZ
      • CZPowGate
      • FSimGate
      • givens
      • H
      • HPowGate
      • I
      • I1
      • I2
      • ISWAP
      • ISwapPowGate
      • MatrixGate
      • MatrixGate1
      • MatrixGate2
      • PhasedISwapPowGate
      • PhasedXPowGate
      • PhasedXZGate
      • riswap
      • rx
      • ry
      • rz
      • S
      • SWAP
      • SwapPowGate
      • T
      • ThreeQubitDiagonalGate
      • TwoQubitDiagonalGate
      • X
      • XPowGate
      • XX
      • XXPowGate
      • Y
      • YPowGate
      • YY
      • YYPowGate
      • Z
      • ZPowGate
      • ZZ
      • ZZPowGate
  • qsim::gate
    • Overview
    • Structs
      • Measurement
  • qsim::unitary
    • Overview
    • Classes
      • UnitaryCalculatorBasic
      • UnitarySpace
    • Structs
      • UnitarySpaceBasic
  • Namespaces
    • qsim::detail
  • Tools for quantum computing research and development
  • See all tools
  • Programming framework
  • Cirq
  • Computing service
  • Quantum Computing Service
  • Libraries and extensions
  • OpenFermion
  • qsim
  • TensorFlow Quantum
  • Overview
  • Publications
  • Conferences
  • Outreach
  • Diversity
  • Overview
  • Careers
  • Google Quantum AI
  • Software
  • qsim
  • C++ Reference

qsim::gate

Summary

Structs

qsim::gate::Measurement

A gate that simulates measurement of one or more qubits, collapsing the state vector and storing the measured results.

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 2020-10-22 UTC.

  • Software

    • Overview
    • Cirq
    • Quantum Computing Service
  • Hardware

    • Overview
  • Resources

    • Education
    • GitHub
    • Stack Exchange
    • Citing Google Quantum AI
  • Engage

    • Contribute process
    • Request for comment
    • Careers
  • Terms
  • Privacy
  • Join the Cirq mailing list for updates Sign up