- 
                Notifications
    
You must be signed in to change notification settings  - Fork 707
 
          Deprecate qnode call shots= kwarg
          #7906
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            JerryChen97
  merged 38 commits into
  master
from
shots-decoupling/deprecate_qnode_call_shots
  
      
      
   
  Jul 24, 2025 
      
    
  
     Merged
                    Changes from 7 commits
      Commits
    
    
            Show all changes
          
          
            38 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      c3b4d1f
              
                PLDW in kwargs
              
              
                JerryChen97 10ab7d5
              
                log?
              
              
                JerryChen97 34a8fea
              
                rst
              
              
                JerryChen97 b61fe37
              
                mf
              
              
                JerryChen97 434353a
              
                rm the PLDW in init to allow user qfunc definition using shots=
              
              
                JerryChen97 9fd697b
              
                adjust tests
              
              
                JerryChen97 d4a71e0
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 70a01cd
              
                Update pennylane/workflow/qnode.py
              
              
                JerryChen97 2cd7ce6
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 ee96313
              
                correct the deprecation logic
              
              
                JerryChen97 cdde1eb
              
                fix test_default_qubit.py
              
              
                JerryChen97 5c5506e
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 d0c159d
              
                debug
              
              
                JerryChen97 55fbdd0
              
                dynamic shots available now
              
              
                JerryChen97 813af2d
              
                debug three files
              
              
                JerryChen97 95668ff
              
                wish no tensorflow in paradise
              
              
                JerryChen97 4290b81
              
                fix jax qnode
              
              
                JerryChen97 f86037e
              
                some leftover
              
              
                JerryChen97 2a9a3f2
              
                fix qcut
              
              
                JerryChen97 0100ba4
              
                debugging test debugging
              
              
                JerryChen97 b352122
              
                qcut leftover
              
              
                JerryChen97 0cd3186
              
                legacy
              
              
                JerryChen97 f92c0d2
              
                Fix optimize issue
              
              
                JerryChen97 812feb7
              
                fix defer measurement
              
              
                JerryChen97 b79d8ac
              
                rm unused partial
              
              
                JerryChen97 049f4a1
              
                fix two more
              
              
                JerryChen97 8c4d7ce
              
                try import from workflow?
              
              
                JerryChen97 dd000f4
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 2f7c206
              
                Update pennylane/workflow/qnode.py
              
              
                JerryChen97 5a1c6b9
              
                Apply suggestions from code review
              
              
                JerryChen97 841212e
              
                remove a test that's essentially legacy test
              
              
                JerryChen97 ee4b276
              
                update msg tsrings
              
              
                JerryChen97 bc27fd9
              
                dont' xfail
              
              
                JerryChen97 2a164a6
              
                no xfail 2
              
              
                JerryChen97 0856455
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 b6a4119
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 10c0aa2
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 25aadaa
              
                Merge branch 'master' into shots-decoupling/deprecate_qnode_call_shots
              
              
                JerryChen97 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.