question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jax interface missing from QNode documentation

See original GitHub issue

In the information about interfaces in the QNode documentation, the “jax” option is missing, even though the QNode can have a jax interface.

We need to have a bullet point for the "jax" option.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Jaybsonicommented, Oct 14, 2021

Hi @anonymousr007, I think what @albi3ro is referring to is the documentation for the QNode class (here). Under the parameters section, there is a parameter called interface. There are 4 options listed for this parameter (‘autograd’, ‘torch’, ‘tf’, None).

It turns out that the QNode also supports the jax interface (label: “jax”). To solve this issue you would have to go into the file qnode.py and update the documentation by adding a bullet point for “jax” followed by a brief description!

This is a great first issue for those who are just starting to learn about quantum computing as it lets you dig into the documentation behind one of the core objects in Pennylane. Also it is a fairly easy contribution to earn a free t-shirt as part of Hacktoberfest! Let us know if you would like to tackle this problem and we encourage you to make a work in progress [WIP] pr so that we can follow along with your progress.

All the best,

0reactions
anonymousr007commented, Oct 14, 2021

PR #1755

Read more comments on GitHub >

github_iconTop Results From Across the Web

SpringFox not finding jax-rs endpoints - Stack Overflow
Now when you start your server and go to http://localhost:8080/swagger-ui.html you will see the documentation for JAX-RS endpoints.
Read more >
Release notes — PennyLane 0.28.0 documentation
JAX -JIT support for computing the gradient of QNodes that return a single vector of probabilities or multiple expectation values is now available....
Read more >
What to do when JAX-RS cannot find it's Providers aka My ...
But first I'd like to take a look at more common issues regarding missing providers and what you can do to solve them....
Read more >
Chapter 13 Building RESTful Web Services with JAX-RS
Chapter 13 Building RESTful Web Services with JAX-RS. This chapter describes the REST architecture, RESTful web services, and the Java API for RESTful...
Read more >
raml-to-jax-rs-cli: Problem with generated entity interfaces. #299
My model has two generated classes, Product being an interface and ProductImpl its implementing class. An example, with one of the API endpoint ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found