Skip to content

Instantly share code, notes, and snippets.

@mattbasta
Created July 12, 2011 18:21
Show Gist options
  • Save mattbasta/1078600 to your computer and use it in GitHub Desktop.
Save mattbasta/1078600 to your computer and use it in GitHub Desktop.
Quantum Computer simulator
def quantumify(evaluator, answers):
quantum_value = evaluator()
if any(map(lambda a: a in quantum_value, answers)):
pass
return "BOTH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment