code: def stripquotes(s):
      """Replace explicit quotes in a string.
  
      >>> from sympy.physics.quantum.qasm import stripquotes
      >>> stripquotes("'S'") == 'S'
      True
      >>> stripquotes('"S"') == 'S'
      True
      >>> stripquotes('S') == 'S'
      True
      """
      s = s.replace('"', "")  # Remove second set of quotes?
      s = s.replace("'", "")
      return s
  
imports: from math import prod
  from sympy.physics.quantum.gate import H, CNOT, X, Z, CGate, CGateS, SWAP, S, T, CPHASE
  from sympy.physics.quantum.circuitplot import Mz
label_desc: Use image node_id 10 for calling a global function with example usage: stripquotes(s) and returns: s