Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Passing arguments to operations invoked via %simulate in Jupyter Notebooks #83

@der-datenzauberer

Description

@der-datenzauberer

I get the following error while trying to pass parameters to operations in Q#. It is quite annoying to hard-code the parameters , in order to perform test runs of the operations with different values.

image

I would like a feature like:

function LeftShift(x: Int) : Int {
return x<<<2;
}

%simulate LeftShift argument1

Metadata

Metadata

Assignees

Labels

Area-KernelIssue relates to the IQ# kernel.Kind-EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions