Skip to content

RFC: Re-exporting for uniform kernel experienceΒ #287

@johnzl-777

Description

@johnzl-777

On the heels of #286 @weinbe58 brought up during the last team meeting from a concern @MilanKornjacaQ raised that one could "hide" what dialect groups are composed of/make things more uniform for users through some re-exporting.

I know this already happens with some other eDSLs we have but I wanted to see if it was worth extending that to others like squin or just across the board, in which case I imagine your program would look something like:

from bloqade import squin

@squin.kernel
def demo():
	q = squin.new(5)
    squin.apply(squin.x(), q[1])

	return squin.measure(q)
	

I think my one concern is if this will cause any odd import problems down the road

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrfcRequest for Comments

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions