QSharpCallable Class

Inheritance
builtins.object
QSharpCallable

Constructor

QSharpCallable(callable_name: str, source: str)

Methods

estimate_resources
simulate

Executes this function or operation on the QuantumSimulator target machine, returning its output as a Python object.

toffoli_simulate

Executes this function or operation on the ToffoliSimulator target machine, returning its output as a Python object.

trace

Returns a structure representing the set of gates and qubits used to execute this operation.

estimate_resources

estimate_resources(**kwargs) -> Dict[str, int]

simulate

Executes this function or operation on the QuantumSimulator target machine, returning its output as a Python object.

simulate(**kwargs) -> Any

toffoli_simulate

Executes this function or operation on the ToffoliSimulator target machine, returning its output as a Python object.

toffoli_simulate(**kwargs) -> Any

trace

Returns a structure representing the set of gates and qubits used to execute this operation.

trace(**kwargs) -> Any