German
Sprachen
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.qasm.Qasm

class Qasm(filename=None, data=None)[Quellcode]

OPENQASM circuit object.

Create an OPENQASM circuit object.

__init__(filename=None, data=None)[Quellcode]

Create an OPENQASM circuit object.

Methods

__init__([filename, data])

Create an OPENQASM circuit object.

generate_tokens()

Returns a generator of the tokens.

parse()

Parse the data.

return_filename()

Return the filename.

generate_tokens()[Quellcode]

Returns a generator of the tokens.

parse()[Quellcode]

Parse the data.

return_filename()[Quellcode]

Return the filename.