Qasm

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

OPENQASM circuit object.

Create an OPENQASM circuit object.

Methods

Qasm.generate_tokens()

Returns a generator of the tokens.

Qasm.parse()

Parse the data.

Qasm.return_filename()

Return the filename.