def TensorNetwork_to_Python(self):
    """Syntax conversion for creating a TensorNetwork """
    return "{} = createTensorNetwork({}, {}, {}, Env)".format(self.name,
                                                              len(self.physicalQubits),
                                                              self.physicalQubits,
                                                              self.virtualQubits)