A verifiable quantum advantage towards real world applications: Quantum Echoes 
Learn more         cirq.pow 
 
        
  Returns val**factor of the given value, if defined.
 cirq.pow( val: Any, exponent: Any, default: Any = RaiseTypeErrorIfNotProvided ) -> Any 
 Values define an extrapolation by defining a pow(self, exponent) method. Note that the method may return NotImplemented to indicate a particular extrapolation can't be done.
   Args | 
   val  |   The value or iterable of values to invert.  |  
  exponent  |   The extrapolation factor. For example, if this is 0.5 and val is a gate then the caller is asking for a square root of the gate.  |  
  default  |   Determines the fallback behavior when val doesn't have an extrapolation defined. If default is not set and that occurs, a TypeError is raised instead.  |  
 
   Returns | 
   If val has a pow method that returns something besides NotImplemented, that result is returned. Otherwise, if a default value was specified, the default value is returned.  |  
 
   Raises | 
   TypeError  |   val doesn't have a pow method (or that method returned NotImplemented) and no default value was specified.  |  
 
       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-08-14 UTC.
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[],[]]