def unicode_representation_resolver():
    """An instance of a RepresentationResolver with unicode charset."""
    return RepresentationResolver()
def ascii_representation_resolver():
    """An instance of a RepresentationResolver with unicode charset."""
    return RepresentationResolver(charset=qml.circuit_drawer.AsciiCharSet)
예제 #3
0
def unicode_representation_resolver_varnames():
    """An instance of a RepresentationResolver with unicode charset and show_variable_names=True."""
    return RepresentationResolver(show_variable_names=True)