[3.x] Initializing member variables in driver folder - part 1

Initialize varibles for alsa,alsamidi,coreaudio,dummy & pulseaudio
subfolders in driver folder with default values
Fixes #52674 partly

This has the same problem as https://github.com/godotengine/godot/pull/53650#issuecomment-992017323.
#52674 lacked clear instructions about how this should be done and shouldn't have been flagged as a good first issue, I apologize for this oversight.


Migrate language and library tests to Dart 2.0

This is the main metabug to track migrating these tests over to be tests of Dart 2.0 (roughly, "strong mode") and not the old Dart 1.0 optional type semantics.

[x] #30182 Run strong mode analyzer tests on analyzer bot
[x] #29794 Update version of d8 in the repo
[x] #30193 Change DDC bots to use d8 instead of drt
[ ] #30529 Remove "static type warning" from test.dart

This is very done.


Update CombatTracker to Foundry VTT 0.7.9

Which class should be updated?
CombatTracker
For which version should the class be updated?
Foundry VTT 0.7.9

Taking this.

Fixed by #298.


Add TrivialAugment for Image and Text

Description of changes:

Implement "AEDA: An Easier Data Augmentation Technique for Text Classification"(https://arxiv.org/abs/2108.13230)

Implement TrivialAugment(https://arxiv.org/abs/2103.10158) for image and text.

The augmentation space for image is set according to the author's recommendation, including identity, auto_contrast, equalize, rotate, solarize, color, posterize, contrast, brightness, sharpness, shear, and translate.
We extend trivial augment in text domain. Augmentation space includes identity, synonym replacement, random delete, random swap, and insert punctuation.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Should we add a test-case for trivial augment?
We can add it here: https://github.com/awslabs/autogluon/blob/master/text/tests/unittests/automm/test_automm_predictor.py

Job PR-1792-12 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1792/12/index.html

Job PR-1792-13 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1792/13/index.html

Job PR-1792-14 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1792/14/index.html

Job PR-1792-15 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1792/15/index.html

Job PR-1792-17 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1792/17/index.html

Job PR-1792-27 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1792/27/index.html


Add PubSub Push message Proto definition

Is your feature request related to a problem? Please describe.
There is no PubSub proto message for the incoming push subscription messages described here. And thus, anyone who'd like to receive a Protobuf equivalent of the push message has to create its own proto wrapper around specified JSON representation.
Describe the solution you'd like
It'd be great to have an appropriate Protobuf message equivalent for the defined JSON representation:
   {
     "message": {
       "attributes": {
         "key": "value"
       },
       "data": "SGVsbG8gQ2xvdWQgUHViL1N1YiEgSGVyZSBpcyBteSBtZXNzYWdlIQ==",
       "messageId": "136969346945"
     },
     "subscription": "projects/myproject/subscriptions/mysubscription"
   }

Describe alternatives you've considered
I'm currently using my own Proto definition:
syntax = "proto3";

package google.pubsub.v1;

option java_multiple_files = true;
option java_outer_classname = "PubsubPushProto";
option java_package = "com.google.pubsub.v1";

import "google/pubsub/v1/pubsub.proto";

message PubsubPushNotification {

    // Pubsub message.
    PubsubMessage message = 1;

    // The name of the Pubsub subscription that pushed the current notification.
    // Format is `projects/{project}/subscriptions/{subscription}`.
    string subscription = 2;
}

Additional context
I'm currently using such a Protobuf as an input parameter for Spring's RestController POST handler. The conversion is done with the help of com.google.protobuf.util.JsonFormat.Parser class.

Closing this as I have created a public bug for this to track b/277106437


Change Tags to be a map instead of list

https://github.com/OAI/OpenAPI-Specification/discussions/2930#discussioncomment-4246927

One of the main problems I have come across is different tools using Tags for completely different things.

Docs tools want to use them for navigation, so they should be human readable Title Case.
Code generators want to use them for namespacing or other codey stuff, so it should be camal, snake, or pascal case.
Third mutually exclusive thing no doubt.

Is there any point in coming up with some sort of other conept which can help to clarify the purpose of tags.
tags:

  Foo:
    description: Stuff
    purpose: navigation

  CodeStuff:
    description: Stuff
    purpose: code

Those words are bad but I'm wondering if we can basically have multiple taxonomies which are more clear with their intent, whether thats defined by OAS or not. I'm not tied to any approach but I would like the hive mind to have a think about this use case if we're going to be making changes to tags.

Consolidated under:

https://github.com/OAI/sig-moonwalk/discussions/32#discussioncomment-8843645


fix(RdfService): wrap full uri in angle bracket

When a uri doesn't match any known prefixes, the uri should return wrapped in angle brackets so that it is valid ttl
@AlecsMissangu  @dptelicent will this change affect any of your apps in an adverse way?

I don't know what impact it will have to be honest, as I'm not sure where this function is being used.

The only place I can think this may have been used in something I've worked on is in the part of Ontology that is now the Instance app, so as long as it works there, I see no issues.

This is the wrong approach. As @afizzycola pointed out, for instance JSON-LD doesn't use the angle brackets


Xave fx pool

(Requires #394 as SOR has some legacy exports removed)

Updates SOR package to latest that has FX Pool support
Adds relevant SG, etc
Adds GyroE Pool

I don't really understand why you had to add this pool to the excluded pool types. Do you mind explaining why?

I don't really understand why you had to add this pool to the excluded pool types. Do you mind explaining why?

Its a default config so the front end doesn't display those pools in adding/removing liquidity.


Redundant libspdm_x509_get_cert_from_cert_chain() in libspdm_read_responder_public_certificate_chain()

In function libspdm_read_responder_public_certificate_chain(), libspdm_x509_get_cert_from_cert_chain() is called in libspdm_verify_cert_chain_data() already, so follow up call seems redundant.
diff.txt

Could you please submit PR directly ?

I will close this issue out as it seems it is not really redundant call, after removing this call I saw some errors on requester side when running spdm-emu-responder and spdm-emu-requester.
0200: ab f8 3b 07 8b e0 ce 26 6f
!!!


Fix wrong error position on undefined object field

Purpose
$title
Fixes #18758
Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19270 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19270   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09df759...d72b8ac. Read the comment docs.


Anonymous logon exception when creating new data source, uploading file, etc

Custom security extension implemented as instructed in readme and is "working". I am able to login and create folders with the admin account entered in the config file and registered into DB. When I attempt to create a new data source; the following error shows up in the log file:
ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AuthenticationExtensionException: , Microsoft.ReportingServices.Diagnostics.Utilities.AuthenticationExtensionException: The Authentication Extension threw an unexpected exception or returned a value that is not valid: . ---> System.NullReferenceException: Anonymous logon is not configured. userIdentity should not be null!
   at Microsoft.Samples.ReportingServices.CustomSecurity.AuthenticationExtension.GetUserInfo(IIdentity& userIdentity, IntPtr& userId)
   at Microsoft.ReportingServices.WebServer.WebServiceHelper.ConstructRSServiceObjectFromSecurityExtension()
   --- End of inner exception stack trace ---;

For reference; exception is thrown from this code:
public void GetUserInfo(out IIdentity userIdentity, out IntPtr userId)
       {
           // If the current user identity is not null,
           // set the userIdentity parameter to that of the current user
           if (HttpContext.Current != null
                 && HttpContext.Current.User != null)
           {
               userIdentity = HttpContext.Current.User.Identity;
           }
           else
           // The current user identity is null. This happens when the user attempts an anonymous logon.
           // Although it is ok to return userIdentity as a null reference, it is best to throw an appropriate
           // exception for debugging purposes.
           // To configure for anonymous logon, return a Gener
           {
               //System.Diagnostics.Debug.Assert(false, "Warning: userIdentity is null! Modify your code if you wish to support anonymous logon.");
               throw new NullReferenceException("Anonymous logon is not configured. userIdentity should not be null!");
           }
           // initialize a pointer to the current user id to zero
           userId = IntPtr.Zero;
       }

My understanding is that we have already logged in and authenticated and thus should NOT have an anonymous logon situation. I am not sure I want to modify the code to "handle" anonymous access -- as everyone should be authenticated; especially those creating/modifying report objects. If it matters; this is to provide external reporting through a custom web application.
I have replicated the same issue in a development VM running Windows 10; but the server details are below.

Windows Server 2016 Standard
SQL Server Standard v13.0.1601.5, Default Instance. Running under Network Service account.
SSRS configured for HTTPS

@bdwakefield   my take on this subject is this:   the sample code from Microsoft is just a starting point and fails to address the full scope of the problem.  I tried to use it and saw that issues like yours are going to be there and i stopped and want with a different method to run reports.
if you look at the total code in SSRS for user auth and how SSRS works it has a lot of things that depend on a user mapping to an AD user and SSRS roles mapping to an NTFS ACL object.
they do not really address the ACL's and the way that SSRS creates and presents them to the rest of the api's

Double check that your web.config has

I finally got it all working; I think the documentation needs improved. The thing that was missing was the cookie passthrough entries. The way the documentation reads; it is optional "when additional things are needed".
In my mind; being able to create more than just folders is not something that is "additional".
Another issue that I ran into that I do not have a good fix for (isn't related to this which is a documentation problem IMO) is the forms redirection losing query string parameters.

@figuerres I actually have this working now; and I think it can be a viable option for embeding reports for external consumption. It was a lot more hoops than I had originally expected.
I am hoping to replicate everything I did and document it all. That was the biggest struggle I had was finding folks who had done it and succeed. All I could find was places where they got stuck and as things typically go they didn't ever get back to reporting what they did to fix it (or if they even gave up).
Our use case is embedding the report and providing access to the parameters of the report for additional filtering and exporting of the data. I didn't want to rebuild the report interface if I didn't have to. SSRS does a good job of taking care of that part of it.

@bdwakefield feel free to send a pull request with any update in the documentation those are more than welcome

Will do; I want to walk through what I did again start to finish without the fumbling to make sure it is repeatable.

@bdwakefield @figuerres I would appreciate if either of you could share your solution or solution architecture with me, I am having authentication issues when integrating into an iframe as well.  Thank you!

For anyone reading this thread in the future: my solution was extraordinarily stupid and hopefully it will save you the 1.5 days I wasted on this:

Followed the readme.md setup guide here to a T.
Created a user using the C# code in this gist here and enter the username and hashed password/SALT generated by the into the UserAccounts.Users table created in step 1 of the readme above.

This is where I got stuck, for some reason the sqlAuthCookie was not being set on my client and I thought it may have had something to do with the fact that I was making a cross domain request (like bdwakefield and figuerres I inserting my report server into a custom web app by pointing the src attribute of an iframe at the report server).  Turns out the solution was stupidly simple:
Don't test your webapp in a private browsing window!
That's why the sqlAuthCookie wasn't getting set, because NO cookies were getting set.  I was using FF 69.0.3.  When I tested the site in a non-private browser window, everything worked fine.

@bdwakefield @figuerres I would appreciate if either of you could share your solution or solution architecture with me, I am having authentication issues when integrating into an iframe as well. Thank you!

I ended up not repeating what we did. It was ugly and I was not confident in the answer. I will say I never had any issues with private browsing. I am curious about it preventing the cookie from being created -- it seems like private browsing should do everything as the normal one would with the only difference being when you close the browser everything is deleted.
Our "hack" was on the page in our application that lists the available reports (we have a table that lists the reports and SSRS URLs, clicking the report link in our application opens a page that puts that path into the iFrame); we make a quick web request to the auto-login page (with hardcoded 'viewer' credentials). Since our primary issue users not getting authed. It is not great and I am not happy with it... but it has been working for a few years with zero issues.


Dark Mode

#41 FIXED
Description

List out your changes
Link the Issue which this resolves

@rk05-lenavo Any updates?

Closing due to inactivity


Minor Quality of Life updates

Minor typo corrections in documentation, and minor cleanup of code in Lab tests (replacing deprecated class usage, minor formatting changes).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

It would also be better to replace hz-cli with CLC.

Hi @naadhira, did you want me to abandon this PR?

At this point, I'm not sure what the PR is asking for! I've been working from the master and everything runs the way we want it to run, so...
@yuce - changing to use CLC is on our list. Working on that right now for both this and for the stream processing essentials stuff.

At this point, I'm not sure what the PR is asking for! I've been working from the master and everything runs the way we want it to run, so...
@yuce - changing to use CLC is on our list. Working on that right now for both this and for the stream processing essentials stuff.

This PR makes some small fixes and cleans up the code in a few places - nothing major, but worth merging imo.


How does it compare to Pipenv?

Hello!
Thanks for writing poet =)
I really liked the usage examples of this tool, but got curious on how it compares with Pipenv:
https://github.com/kennethreitz/pipenv
Sorry if this is an obvious or simple question.

pipenv only handles dependencies and eases virtualenv handling but, in the end, to package and publish your package to pypi you will still need to create a MANIFEST.in, a setup.py file and so on. So, as I see it the Pipfile file only replaces the requirements.txt which is used by pip.
So, pipenv only solves part of the problem while poet tries to be a all-in-one, intuitive tool to handle the standard Python package and application workflow.

Amazing! Thanks for the response! I will try to test it on my projects.
Btw, is it possible to use it on services like Heroku and Travis?
Congrats for the project, this is a much needed improvement to package handling in Python!

On Travis you can have your install section look like:
install:
  - pip install pip -U  # Make sure you have the latest pip version
  - pip install setuptools -U  # Needed for Python 2.7 builds
  - pip install pypoet
  - poet install


Worldmap markers click "action" not working if clustered

The new click action is not triggered if the marker is in a cluster, we click the cluster and then the marker.

sorry, can you explain a bit more. If the marker is in a cluster the cluster doesn't register a click ? Or once unclustered it doesn't register a click ? or...
The click action is only on a marker. so I wouldn't expect it to work on a  cluster. - You can always turn off clustering if you want.

Once unclustered, but I discovered that the problem was a different one.
 The problem is that these coordinates are different than the ones you get if you click on the same marker when you zoom enough for it to be unclustered (without clicking on the cluster).
I was using the coordinates to access a database in order to know which marker was clicked and was getting nothing when clustered (because of the coordinates being different). Is it possible to send the marker id in the action object? Or make the marker coordinates the same regardless of the clustering status.

apologies - the name was supposed to be part of the message but wasn't... now fixed.
The co-ordinates are those of the "spider" when the cluster expands so are not correct - so yes - use the name as that is unique.


⚠ Ion has degraded performance

In 2a91526, Ion (https://ion.tjhsst.edu) experienced degraded performance:

HTTP code: 200
Response time: 4236 ms

Resolved: Ion performance has improved in c01bb7a.


Fix mypy errors (circuit)

Summary
Following discussion, I'm splitting https://github.com/Qiskit/qiskit-terra/pull/8187 by module.
Details and comments
I've added some ignores: annotated properties, and using attributes which are checked in runtime.
The are ~130 errors left:

 All error list
qiskit/circuit/add_control.py:127: error: Argument 1 to "mct" of "QuantumCircuit" has incompatible type "QuantumRegister"; expected "Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]"  [arg-type]
qiskit/circuit/add_control.py:129: error: "QuantumCircuit" has no attribute "mcrx"; maybe "mcx" or "crx"?  [attr-defined]
qiskit/circuit/add_control.py:136: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
qiskit/circuit/add_control.py:145: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
qiskit/circuit/add_control.py:175: error: "QuantumCircuit" has no attribute "mcrx"; maybe "mcx" or "crx"?  [attr-defined]
qiskit/circuit/add_control.py:179: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
qiskit/circuit/add_control.py:187: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
qiskit/circuit/add_control.py:191: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
qiskit/circuit/add_control.py:194: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
qiskit/circuit/add_control.py:201: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
qiskit/circuit/add_control.py:206: error: Argument 1 to "mcx" of "QuantumCircuit" has incompatible type "QuantumRegister"; expected "Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]"  [arg-type]
qiskit/circuit/add_control.py:221: error: Unsupported operand types for | ("int" and "str")  [operator]
qiskit/circuit/add_control.py:221: note: Right operand is of type "Union[int, str, None]"
qiskit/circuit/add_control.py:226: error: Incompatible types in assignment (expression has type "Union[int, str, None]", variable has type "int")  [assignment]
qiskit/circuit/classicalfunction/classical_function_visitor.py:152: error: "expr" has no attribute "id"  [attr-defined]
qiskit/circuit/classicalfunction/classical_function_visitor.py:153: error: "expr" has no attribute "id"  [attr-defined]
qiskit/circuit/controlledgate.py:100: error: Incompatible types in assignment (expression has type "Union[int, str, None]", variable has type "int")  [assignment]
qiskit/circuit/controlledgate.py:123: error: Incompatible return value type (got "QuantumCircuit", expected "List[Any]")  [return-value]
qiskit/circuit/gate.py:208: error: Incompatible return value type (got "Iterator[Tuple[List[Any], List[Any]]]", expected "Tuple[List[Any], List[Any]]")  [return-value]
qiskit/circuit/gate.py:210: error: Incompatible return value type (got "Iterator[Tuple[List[Any], List[Any]]]", expected "Tuple[List[Any], List[Any]]")  [return-value]
qiskit/circuit/gate.py:212: error: Incompatible return value type (got "Iterator[Tuple[List[Any], List[Any]]]", expected "Tuple[List[Any], List[Any]]")  [return-value]
qiskit/circuit/library/arithmetic/adders/vbe_ripple_carry_adder.py:86: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "QuantumRegister")  [assignment]
qiskit/circuit/library/arithmetic/adders/vbe_ripple_carry_adder.py:97: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "QuantumRegister")  [assignment]
qiskit/circuit/library/arithmetic/adders/vbe_ripple_carry_adder.py:105: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
qiskit/circuit/library/arithmetic/linear_amplitude_function.py:104: error: List item 0 has incompatible type "Union[float, List[float]]"; expected "float"  [list-item]
qiskit/circuit/library/arithmetic/linear_amplitude_function.py:106: error: List item 0 has incompatible type "Union[float, List[float]]"; expected "float"  [list-item]
qiskit/circuit/library/arithmetic/linear_amplitude_function.py:136: error: Value of type "Union[float, List[float]]" is not indexable  [index]
qiskit/circuit/library/arithmetic/linear_amplitude_function.py:137: error: Value of type "Union[float, List[float]]" is not indexable  [index]
qiskit/circuit/library/arithmetic/piecewise_chebyshev.py:255: error: Item "float" of "Union[float, Callable[[int], float]]" has no attribute "__code__"  [union-attr]
qiskit/circuit/library/arithmetic/piecewise_linear_pauli_rotations.py:105: error: Incompatible return value type (got "Union[List[float], ndarray[Any, Any]]", expected "List[float]")  [return-value]
qiskit/circuit/library/arithmetic/piecewise_linear_pauli_rotations.py:124: error: Incompatible return value type (got "Union[List[float], ndarray[Any, Any]]", expected "List[float]")  [return-value]
qiskit/circuit/library/arithmetic/piecewise_linear_pauli_rotations.py:171: error: Incompatible return value type (got "bool_", expected "bool")  [return-value]
qiskit/circuit/library/arithmetic/piecewise_polynomial_pauli_rotations.py:207: error: Incompatible return value type (got "bool_", expected "bool")  [return-value]
qiskit/circuit/library/arithmetic/quadratic_form.py:114: error: Argument 1 to "required_result_qubits" of "QuadraticForm" has incompatible type "Union[ndarray[Any, Any], List[List[Union[float, ParameterExpression]]]]"; expected "Union[ndarray[Any, Any], List[List[float]]]"  [arg-type]
qiskit/circuit/library/arithmetic/quadratic_form.py:114: error: Argument 2 to "required_result_qubits" of "QuadraticForm" has incompatible type "Union[ndarray[Any, Any], List[Union[float, ParameterExpression]]]"; expected "Union[ndarray[Any, Any], List[float]]"  [arg-type]
qiskit/circuit/library/blueprintcircuit.py:73: error: Signature of "qregs" incompatible with supertype "QuantumCircuit"  [override]
qiskit/circuit/library/blueprintcircuit.py:89: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/boolean_logic/quantum_and.py:91: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
qiskit/circuit/library/boolean_logic/quantum_or.py:90: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
qiskit/circuit/library/data_preparation/pauli_feature_map.py:140: error: Argument "entanglement" to "__init__" of "NLocal" has incompatible type "Union[str, List[List[int]], Callable[[int], List[int]]]"; expected "Union[List[int], List[List[int]], None]"  [arg-type]
qiskit/circuit/library/data_preparation/pauli_feature_map.py:151: error: Return type "Optional[List[Parameter]]" of "_parameter_generator" incompatible with return type "Optional[Parameter]" in supertype "NLocal"  [override]
qiskit/circuit/library/data_preparation/state_preparation.py:89: error: Incompatible types in assignment (expression has type "ndarray[Any, Any]", variable has type "Union[str, List[Any], int, Statevector]")  [assignment]
qiskit/circuit/library/data_preparation/state_preparation.py:103: error: Argument 3 to "__init__" of "Gate" has incompatible type "Union[List[int], str, List[Any], Statevector]"; expected "List[Any]"  [arg-type]
qiskit/circuit/library/data_preparation/state_preparation.py:516: error: "Type[QuantumCircuit]" has no attribute "prepare_state"  [attr-defined]
qiskit/circuit/library/evolved_operator_ansatz.py:61: error: Argument "parameter_prefix" to "__init__" of "NLocal" has incompatible type "Union[str, List[str]]"; expected "str"  [arg-type]
qiskit/circuit/library/evolved_operator_ansatz.py:87: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/fourier_checking.py:83: error: Argument 1 to "QuantumCircuit" has incompatible type "float"; expected "Union[Register, int, Sequence[Bit]]"  [arg-type]
qiskit/circuit/library/fourier_checking.py:87: error: "QuantumCircuit" has no attribute "diagonal"  [attr-defined]
qiskit/circuit/library/fourier_checking.py:91: error: "QuantumCircuit" has no attribute "diagonal"  [attr-defined]
qiskit/circuit/library/generalized_gates/diagonal.py:110: error: "QuantumCircuit" has no attribute "ucrz"; maybe "crz"?  [attr-defined]
qiskit/circuit/library/generalized_gates/gms.py:89: error: List item 0 has incompatible type "ndarray[Any, Any]"; expected "List[float]"  [list-item]
qiskit/circuit/library/generalized_gates/linear_function.py:160: error: Incompatible return value type (got "bool_", expected "bool")  [return-value]
qiskit/circuit/library/generalized_gates/mcmt.py:263: error: Missing return statement  [return]
qiskit/circuit/library/generalized_gates/mcmt.py:287: error: Return value expected  [return-value]
qiskit/circuit/library/grover_operator.py:298: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
qiskit/circuit/library/n_local/efficient_su2.py:130: error: Argument "rotation_blocks" to "__init__" of "TwoLocal" has incompatible type "Union[str, type, Instruction, QuantumCircuit, List[Union[str, type, Instruction, QuantumCircuit]]]"; expected "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"  [arg-type]
qiskit/circuit/library/n_local/efficient_su2.py:142: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/n_local/excitation_preserving.py:160: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/n_local/n_local.py:229: error: Incompatible types in assignment (expression has type "List[Union[QuantumCircuit, Instruction]]", variable has type "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]")  [assignment]
qiskit/circuit/library/n_local/n_local.py:232: error: List comprehension has incompatible type List[QuantumCircuit]; expected List[Instruction]  [misc]
qiskit/circuit/library/n_local/n_local.py:232: error: Item "QuantumCircuit" of "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
qiskit/circuit/library/n_local/n_local.py:232: error: Item "Instruction" of "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
qiskit/circuit/library/n_local/n_local.py:254: error: Incompatible types in assignment (expression has type "List[Union[QuantumCircuit, Instruction]]", variable has type "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]")  [assignment]
qiskit/circuit/library/n_local/n_local.py:257: error: List comprehension has incompatible type List[QuantumCircuit]; expected List[Instruction]  [misc]
qiskit/circuit/library/n_local/n_local.py:257: error: Item "QuantumCircuit" of "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
qiskit/circuit/library/n_local/n_local.py:257: error: Item "Instruction" of "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
qiskit/circuit/library/n_local/n_local.py:400: error: Incompatible types in assignment (expression has type "Union[ParameterVector, List[Parameter]]", variable has type "ParameterVector")  [assignment]
qiskit/circuit/library/n_local/n_local.py:747: error: Incompatible types in assignment (expression has type "List[Union[List[int], List[List[int]]]]", variable has type "Union[List[int], str, List[List[int]], None]")  [assignment]
qiskit/circuit/library/n_local/n_local.py:751: error: List item 0 has incompatible type "Union[List[int], str, List[List[int]]]"; expected "List[int]"  [list-item]
qiskit/circuit/library/n_local/n_local.py:754: error: List item 0 has incompatible type "Union[List[int], str, List[List[int]]]"; expected "List[int]"  [list-item]
qiskit/circuit/library/n_local/n_local.py:757: error: Argument 1 to "max" has incompatible type "Union[int, List[int]]"; expected "Iterable[int]"  [arg-type]
qiskit/circuit/library/n_local/n_local.py:770: error: Incompatible types in assignment (expression has type "Union[List[int], List[List[int]]]", variable has type "List[Tuple[int, ...]]")  [assignment]
qiskit/circuit/library/n_local/n_local.py:963: error: Incompatible types in assignment (expression has type "Instruction", variable has type "Gate")  [assignment]
qiskit/circuit/library/n_local/n_local.py:983: error: List comprehension has incompatible type List[ParameterExpression]; expected List[Parameter]  [misc]
qiskit/circuit/library/n_local/pauli_two_design.py:96: error: List item 0 has incompatible type "RYGate"; expected "QuantumCircuit"  [list-item]
qiskit/circuit/library/n_local/pauli_two_design.py:97: error: List item 0 has incompatible type "str"; expected "List[int]"  [list-item]
qiskit/circuit/library/n_local/qaoa_ansatz.py:62: error: Incompatible types in assignment (expression has type "Optional[QuantumCircuit]", base class "NLocal" defined the type as "None")  [assignment]
qiskit/circuit/library/n_local/qaoa_ansatz.py:66: error: Incompatible types in assignment (expression has type "Optional[List[Tuple[Optional[float], Optional[float]]]]", base class "NLocal" defined the type as "None")  [assignment]
qiskit/circuit/library/n_local/qaoa_ansatz.py:134: error: Incompatible return value type (got "List[Tuple[int, float]]", expected "Optional[List[Tuple[Optional[float], Optional[float]]]]")  [return-value]
qiskit/circuit/library/n_local/qaoa_ansatz.py:147: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/n_local/qaoa_ansatz.py:250: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/n_local/real_amplitudes.py:160: error: Read-only property cannot override read-write property  [misc]
qiskit/circuit/library/n_local/two_local.py:204: error: Argument "rotation_blocks" to "__init__" of "NLocal" has incompatible type "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"; expected "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction], None]"  [arg-type]
qiskit/circuit/library/n_local/two_local.py:205: error: Argument "entanglement_blocks" to "__init__" of "NLocal" has incompatible type "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"; expected "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction], None]"  [arg-type]
qiskit/circuit/library/n_local/two_local.py:206: error: Argument "entanglement" to "__init__" of "NLocal" has incompatible type "Union[str, List[List[int]], Callable[[int], List[int]]]"; expected "Union[List[int], List[List[int]], None]"  [arg-type]
qiskit/circuit/library/standard_gates/p.py:108: error: Incompatible types in assignment (expression has type "MCPhaseGate", variable has type "CPhaseGate")  [assignment]
qiskit/circuit/library/standard_gates/u1.py:116: error: Incompatible types in assignment (expression has type "MCU1Gate", variable has type "CU1Gate")  [assignment]
qiskit/circuit/library/standard_gates/u3.py:99: error: "CU3Gate" gets multiple values for keyword argument "label"  [misc]
qiskit/circuit/library/standard_gates/u3.py:99: error: "CU3Gate" gets multiple values for keyword argument "ctrl_state"  [misc]
qiskit/circuit/library/standard_gates/x.py:901: error: Unexpected keyword argument "label" for "__new__" of "object"  [call-arg]
/usr/local/lib/python3.9/site-packages/mypy/typeshed/stdlib/builtins.pyi:88: note: "__new__" of "object" defined here
qiskit/circuit/library/standard_gates/x.py:901: error: Unexpected keyword argument "ctrl_state" for "__new__" of "object"  [call-arg]
/usr/local/lib/python3.9/site-packages/mypy/typeshed/stdlib/builtins.pyi:88: note: "__new__" of "object" defined here
qiskit/circuit/library/standard_gates/x.py:903: error: Cannot access "__init__" directly  [misc]
qiskit/circuit/library/standard_gates/x.py:1004: error: Unexpected keyword argument "label" for "__new__" of "object"  [call-arg]
/usr/local/lib/python3.9/site-packages/mypy/typeshed/stdlib/builtins.pyi:88: note: "__new__" of "object" defined here
qiskit/circuit/library/standard_gates/x.py:1004: error: Unexpected keyword argument "ctrl_state" for "__new__" of "object"  [call-arg]
/usr/local/lib/python3.9/site-packages/mypy/typeshed/stdlib/builtins.pyi:88: note: "__new__" of "object" defined here
qiskit/circuit/library/standard_gates/x.py:1006: error: Cannot access "__init__" directly  [misc]
qiskit/circuit/parameterexpression.py:541: error: Cannot assign multiple types to name "ParameterValueType" without an explicit "Type[...]" annotation  [misc]
qiskit/circuit/quantumcircuit.py:220: error: Argument 1 to "int" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Union[str, bytes, array[Any], mmap, _CData, PickleBuffer, SupportsInt, SupportsIndex, SupportsTrunc]"  [arg-type]
qiskit/circuit/quantumcircuit.py:230: error: Argument 1 to "int" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Union[str, bytes, array[Any], mmap, _CData, PickleBuffer, SupportsInt, SupportsIndex, SupportsTrunc]"  [arg-type]
qiskit/circuit/quantumcircuit.py:891: error: Item "Instruction" of "Union[QuantumCircuit, Instruction]" has no attribute "to_gate"  [union-attr]
qiskit/circuit/quantumcircuit.py:893: error: Item "Instruction" of "Union[QuantumCircuit, Any, Instruction]" has no attribute "to_instruction"  [union-attr]
qiskit/circuit/quantumcircuit.py:903: error: Argument 2 to "CircuitInstruction" has incompatible type "Sequence[Union[Qubit, int]]"; expected "Iterable[Qubit]"  [arg-type]
qiskit/circuit/quantumcircuit.py:903: error: Argument 3 to "CircuitInstruction" has incompatible type "Sequence[Union[Clbit, int]]"; expected "Iterable[Clbit]"  [arg-type]
qiskit/circuit/quantumcircuit.py:946: error: Argument 1 to "update" of "MutableMapping" has incompatible type "Dict[Clbit, Clbit]"; expected "SupportsKeysAndGetItem[Qubit, Qubit]"  [arg-type]
qiskit/circuit/quantumcircuit.py:961: error: Argument 3 to "CircuitInstruction" has incompatible type "List[Qubit]"; expected "Iterable[Clbit]"  [arg-type]
qiskit/circuit/quantumcircuit.py:1409: error: Unsupported operand types for + ("List[QuantumRegister]" and "List[ClassicalRegister]")  [operator]
qiskit/circuit/quantumcircuit.py:1586: error: Unsupported operand types for + ("List[QuantumRegister]" and "List[ClassicalRegister]")  [operator]
qiskit/circuit/quantumcircuit.py:1587: error: Unsupported operand types for + ("List[QuantumRegister]" and "List[ClassicalRegister]")  [operator]
qiskit/circuit/quantumcircuit.py:1703: error: Unsupported operand types for + ("List[QuantumRegister]" and "List[ClassicalRegister]")  [operator]
qiskit/circuit/quantumcircuit.py:1973: error: Unsupported operand types for + ("List[Qubit]" and "List[Clbit]")  [operator]
qiskit/circuit/quantumcircuit.py:2094: error: Unsupported operand types for + ("List[Qubit]" and "List[Clbit]")  [operator]
qiskit/circuit/quantumcircuit.py:2109: error: Unsupported operand types for + ("Tuple[Qubit, ...]" and "Tuple[Clbit, ...]")  [operator]
qiskit/circuit/quantumcircuit.py:2650: error: Argument 1 to "len" has incompatible type "Union[ParameterExpression, float]"; expected "Sized"  [arg-type]
qiskit/circuit/quantumcircuit.py:2654: error: Argument 1 to "len" has incompatible type "Union[ParameterExpression, float]"; expected "Sized"  [arg-type]
qiskit/circuit/quantumcircuit.py:2656: error: No overload variant of "zip" matches argument types "<subclass of "Parameter" and "ParameterVector">", "Union[ParameterExpression, float]"  [call-overload]
qiskit/circuit/quantumcircuit.py:2656: note: Possible overload variants:
qiskit/circuit/quantumcircuit.py:2656: note:     def [_T_co, _T1] __new__(cls, Iterable[_T1]) -> zip[Tuple[_T1]]
qiskit/circuit/quantumcircuit.py:2656: note:     def [_T_co, _T1, _T2] __new__(cls, Iterable[_T1], Iterable[_T2]) -> zip[Tuple[_T1, _T2]]
qiskit/circuit/quantumcircuit.py:2656: note:     def [_T_co, _T1, _T2, _T3] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3]) -> zip[Tuple[_T1, _T2, _T3]]
qiskit/circuit/quantumcircuit.py:2656: note:     def [_T_co, _T1, _T2, _T3, _T4] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4]) -> zip[Tuple[_T1, _T2, _T3, _T4]]
qiskit/circuit/quantumcircuit.py:2656: note:     def [_T_co, _T1, _T2, _T3, _T4, _T5] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], Iterable[_T5]) -> zip[Tuple[_T1, _T2, _T3, _T4, _T5]]
qiskit/circuit/quantumcircuit.py:2656: note:     def [_T_co] __new__(cls, Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], *iterables: Iterable[Any]) -> zip[Tuple[Any, ...]]
qiskit/circuit/quantumcircuit.py:2828: error: Incompatible types in assignment (expression has type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]", variable has type "Qubit")  [assignment]
qiskit/circuit/quantumcircuit.py:2995: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]
qiskit/circuit/quantumcircuit.py:3682: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]
qiskit/circuit/quantumcircuit.py:3975: error: Argument 1 to "qbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]"  [arg-type]
qiskit/circuit/quantumcircuit.py:3992: error: List item 0 has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]"  [list-item]
qiskit/circuit/quantumcircuit.py:3994: error: Argument 1 to "len" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Sized"  [arg-type]
qiskit/circuit/quantumcircuit.py:3995: error: Argument 1 to "len" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Sized"  [arg-type]
qiskit/circuit/quantumcircuit.py:3998: error: Value of type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]" is not indexable  [index]
qiskit/circuit/quantumcircuit.py:4002: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]

This is a large module with various errors. qiskit/circuit/quantumcircuit.py has multiple errors due to summing list of different types, e.g., qiskit/circuit/quantumcircuit.py:1409: error: Unsupported operand types for + ("List[QuantumRegister]" and "List[ClassicalRegister]").
There is another chunk of missing attributes, which maybe should be ignored?

Hi @Randl , sorry for the delay, but we are starting an earnest effort to review your mypy PRs. If you don't mind, could you update this PR and post the mypy output before and after your changes?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

218 of 219 (99.54%)  changed or added relevant lines in 36 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 85.276%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/library/grover_operator.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
67271

Relevant Lines:
78886

💛  - Coveralls

@kevinsung I've updated the PR and rebased on master.

 mypy output after
out_after.log:qiskit/circuit/classicalfunction/classical_function_visitor.py:152: error: "expr" has no attribute "id"  [attr-defined]
out_after.log:qiskit/circuit/classicalfunction/classical_function_visitor.py:153: error: "expr" has no attribute "id"  [attr-defined]
out_after.log:qiskit/circuit/parameterexpression.py:563: error: Cannot assign multiple types to name "ParameterValueType" without an explicit "Type[...]" annotation  [misc]
out_after.log:qiskit/circuit/quantumcircuit.py:246: error: Argument 1 to "int" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Union[str, bytes, bytearray, memoryview, array[Any], mmap, _CData, PickleBuffer, SupportsInt, SupportsIndex, SupportsTrunc]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:909: error: Argument 1 to "qbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:920: error: Argument 1 to "cbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"; expected "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:926: error: Argument 1 to "cbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"; expected "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:931: error: List comprehension has incompatible type List[Union[Qubit, Clbit]]; expected List[Qubit]  [misc]
out_after.log:qiskit/circuit/quantumcircuit.py:932: error: List comprehension has incompatible type List[Union[Qubit, Clbit]]; expected List[Clbit]  [misc]
out_after.log:qiskit/circuit/quantumcircuit.py:961: error: Cannot call function of unknown type  [operator]
out_after.log:qiskit/circuit/quantumcircuit.py:1137: error: Incompatible return value type (got "List[Bit]", expected "List[Qubit]")  [return-value]
out_after.log:qiskit/circuit/quantumcircuit.py:1152: error: Incompatible return value type (got "List[Bit]", expected "List[Clbit]")  [return-value]
out_after.log:qiskit/circuit/quantumcircuit.py:1232: error: Incompatible types in assignment (expression has type "Operation", variable has type "Instruction")  [assignment]
out_after.log:qiskit/circuit/quantumcircuit.py:1301: error: Overloaded function implementation does not accept all possible arguments of signature 1  [misc]
out_after.log:qiskit/circuit/quantumcircuit.py:1301: error: Overloaded function implementation does not accept all possible arguments of signature 2  [misc]
out_after.log:qiskit/circuit/quantumcircuit.py:1381: error: Argument 1 to "QuantumRegister" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Optional[int]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:1387: error: Argument 1 to "QuantumRegister" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Optional[int]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:1391: error: Argument 1 to "ClassicalRegister" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Optional[int]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:1572: error: Argument 1 to "Decompose" has incompatible type "Union[Type[Gate], Sequence[Type[Gate]], Sequence[str], str, None]"; expected "Union[Type[Gate], List[Type[Gate]], List[str], str, None]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:1672: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)  [attr-defined]
out_after.log:qiskit/circuit/quantumcircuit.py:1674: error: Argument 2 to "_make_unique" has incompatible type "Dict[str, Union[QuantumRegister, ClassicalRegister]]"; expected "AbstractSet[str]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:1966: error: Unsupported operand types for + ("List[Qubit]" and "List[Clbit]")  [operator]
out_after.log:qiskit/circuit/quantumcircuit.py:2089: error: Unsupported operand types for + ("List[Qubit]" and "List[Clbit]")  [operator]
out_after.log:qiskit/circuit/quantumcircuit.py:2104: error: Unsupported operand types for + ("Tuple[Qubit, ...]" and "Tuple[Clbit, ...]")  [operator]
out_after.log:qiskit/circuit/quantumcircuit.py:2702: error: Argument 1 to "len" has incompatible type "Union[ParameterExpression, float]"; expected "Sized"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:2706: error: Argument 1 to "len" has incompatible type "Union[ParameterExpression, float]"; expected "Sized"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: error: No overload variant of "zip" matches argument types "<subclass of "Parameter" and "ParameterVector">", "Union[ParameterExpression, float]"  [call-overload]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note: Possible overload variants:
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note:     def [_T_co, _T1] __new__(cls, Iterable[_T1], /, *, strict: bool = ...) -> zip[Tuple[_T1]]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note:     def [_T_co, _T1, _T2] __new__(cls, Iterable[_T1], Iterable[_T2], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2]]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note:     def [_T_co, _T1, _T2, _T3] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2, _T3]]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note:     def [_T_co, _T1, _T2, _T3, _T4] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2, _T3, _T4]]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note:     def [_T_co, _T1, _T2, _T3, _T4, _T5] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], Iterable[_T5], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2, _T3, _T4, _T5]]
out_after.log:qiskit/circuit/quantumcircuit.py:2708: note:     def [_T_co] __new__(cls, Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], /, *iterables: Iterable[Any], strict: bool = ...) -> zip[Tuple[Any, ...]]
out_after.log:qiskit/circuit/quantumcircuit.py:2884: error: Incompatible types in assignment (expression has type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]", variable has type "Qubit")  [assignment]
out_after.log:qiskit/circuit/quantumcircuit.py:3051: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]
out_after.log:qiskit/circuit/quantumcircuit.py:3900: error: Argument 1 to "qbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]"  [arg-type]
out_after.log:qiskit/circuit/quantumcircuit.py:3930: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]
out_after.log:qiskit/circuit/add_control.py:126: error: Argument 1 to "mct" of "QuantumCircuit" has incompatible type "QuantumRegister"; expected "Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]"  [arg-type]
out_after.log:qiskit/circuit/add_control.py:128: error: "QuantumCircuit" has no attribute "mcrx"; maybe "mcx" or "crx"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:135: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:144: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:174: error: "QuantumCircuit" has no attribute "mcrx"; maybe "mcx" or "crx"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:178: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:186: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:190: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:193: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:200: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_after.log:qiskit/circuit/add_control.py:205: error: Argument 1 to "mcx" of "QuantumCircuit" has incompatible type "QuantumRegister"; expected "Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]"  [arg-type]
out_after.log:qiskit/circuit/add_control.py:220: error: Unsupported operand types for | ("int" and "str")  [operator]
out_after.log:qiskit/circuit/add_control.py:220: note: Right operand is of type "Union[str, int, None]"
out_after.log:qiskit/circuit/commutation_checker.py:109: error: "Operation" has no attribute "is_parameterized"  [attr-defined]
out_after.log:qiskit/circuit/commutation_checker.py:126: error: "Operation" has no attribute "params"  [attr-defined]
out_after.log:qiskit/circuit/commutation_checker.py:127: error: "Operation" has no attribute "params"  [attr-defined]
out_after.log:qiskit/circuit/controlledgate.py:103: error: Incompatible types in assignment (expression has type "Union[int, str, None]", variable has type "int")  [assignment]
out_after.log:qiskit/circuit/controlledgate.py:126: error: Incompatible return value type (got "QuantumCircuit", expected "List[Any]")  [return-value]
out_after.log:qiskit/circuit/library/arithmetic/piecewise_chebyshev.py:262: error: Item "float" of "Union[float, Callable[[int], float]]" has no attribute "__code__"  [union-attr]
out_after.log:qiskit/circuit/library/blueprintcircuit.py:89: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/boolean_logic/quantum_and.py:94: error: Argument 3 to "mcx" of "QuantumCircuit" has incompatible type "Union[Any, List[Bit]]"; expected "Union[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]], Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]], None]"  [arg-type]
out_after.log:qiskit/circuit/library/boolean_logic/quantum_or.py:95: error: Argument 3 to "mcx" of "QuantumCircuit" has incompatible type "Union[Any, List[Bit]]"; expected "Union[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]], Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]], None]"  [arg-type]
out_after.log:qiskit/circuit/library/data_preparation/pauli_feature_map.py:140: error: Argument "entanglement" to "__init__" of "NLocal" has incompatible type "Union[str, List[List[int]], Callable[[int], List[int]]]"; expected "Union[List[int], List[List[int]], None]"  [arg-type]
out_after.log:qiskit/circuit/library/data_preparation/pauli_feature_map.py:151: error: Return type "Optional[List[Parameter]]" of "_parameter_generator" incompatible with return type "Optional[Parameter]" in supertype "NLocal"  [override]
out_after.log:qiskit/circuit/library/data_preparation/state_preparation.py:103: error: Argument 3 to "__init__" of "Gate" has incompatible type "Union[List[int], str, List[Any], Statevector]"; expected "List[Any]"  [arg-type]
out_after.log:qiskit/circuit/library/evolved_operator_ansatz.py:61: error: Argument "parameter_prefix" to "__init__" of "NLocal" has incompatible type "Union[str, List[str]]"; expected "str"  [arg-type]
out_after.log:qiskit/circuit/library/evolved_operator_ansatz.py:87: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/fourier_checking.py:82: error: Argument 1 to "QuantumCircuit" has incompatible type "float"; expected "Union[Register, int, Sequence[Bit]]"  [arg-type]
out_after.log:qiskit/circuit/library/fourier_checking.py:86: error: "QuantumCircuit" has no attribute "diagonal"  [attr-defined]
out_after.log:qiskit/circuit/library/fourier_checking.py:90: error: "QuantumCircuit" has no attribute "diagonal"  [attr-defined]
out_after.log:qiskit/circuit/library/generalized_gates/diagonal.py:110: error: "QuantumCircuit" has no attribute "ucrz"; maybe "crz"?  [attr-defined]
out_after.log:qiskit/circuit/library/generalized_gates/mcmt.py:210: error: Missing return statement  [return]
out_after.log:qiskit/circuit/library/generalized_gates/mcmt.py:234: error: Return value expected  [return-value]
out_after.log:qiskit/circuit/library/grover_operator.py:308: error: Argument 3 to "mcx" of "QuantumCircuit" has incompatible type "Union[Any, List[Bit]]"; expected "Union[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]], Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]], None]"  [arg-type]
out_after.log:qiskit/circuit/library/n_local/efficient_su2.py:133: error: Argument "rotation_blocks" to "__init__" of "TwoLocal" has incompatible type "Union[str, type, Instruction, QuantumCircuit, List[Union[str, type, Instruction, QuantumCircuit]]]"; expected "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"  [arg-type]
out_after.log:qiskit/circuit/library/n_local/efficient_su2.py:145: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/n_local/excitation_preserving.py:160: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/n_local/n_local.py:240: error: Incompatible types in assignment (expression has type "List[Union[QuantumCircuit, Instruction]]", variable has type "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]")  [assignment]
out_after.log:qiskit/circuit/library/n_local/n_local.py:266: error: Incompatible types in assignment (expression has type "List[Union[QuantumCircuit, Instruction]]", variable has type "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]")  [assignment]
out_after.log:qiskit/circuit/library/n_local/n_local.py:740: error: Incompatible types in assignment (expression has type "List[Union[List[int], List[List[int]]]]", variable has type "Union[List[int], str, List[List[int]], None]")  [assignment]
out_after.log:qiskit/circuit/library/n_local/n_local.py:953: error: Incompatible types in assignment (expression has type "Instruction", variable has type "Gate")  [assignment]
out_after.log:qiskit/circuit/library/n_local/n_local.py:973: error: List comprehension has incompatible type List[ParameterExpression]; expected List[Parameter]  [misc]
out_after.log:qiskit/circuit/library/n_local/pauli_two_design.py:97: error: List item 0 has incompatible type "RYGate"; expected "QuantumCircuit"  [list-item]
out_after.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:145: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:248: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/n_local/real_amplitudes.py:172: error: Read-only property cannot override read-write property  [misc]
out_after.log:qiskit/circuit/library/n_local/two_local.py:215: error: Argument "rotation_blocks" to "__init__" of "NLocal" has incompatible type "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"; expected "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction], None]"  [arg-type]
out_after.log:qiskit/circuit/library/n_local/two_local.py:216: error: Argument "entanglement_blocks" to "__init__" of "NLocal" has incompatible type "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"; expected "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction], None]"  [arg-type]
out_after.log:qiskit/circuit/library/n_local/two_local.py:217: error: Argument "entanglement" to "__init__" of "NLocal" has incompatible type "Union[str, List[List[int]], Callable[[int], List[int]]]"; expected "Union[List[int], List[List[int]], None]"  [arg-type]
out_after.log:qiskit/circuit/library/standard_gates/p.py:117: error: "Gate" has no attribute "base_gate"  [attr-defined]
out_after.log:qiskit/circuit/library/standard_gates/u1.py:138: error: "Gate" has no attribute "base_gate"  [attr-defined]
out_after.log:qiskit/circuit/library/standard_gates/u3.py:117: error: "CU3Gate" gets multiple values for keyword argument "label"  [misc]
out_after.log:qiskit/circuit/library/standard_gates/u3.py:117: error: "CU3Gate" gets multiple values for keyword argument "ctrl_state"  [misc]
out_after.log:qiskit/circuit/library/standard_gates/x.py:936: error: Unexpected keyword argument "label" for "__new__" of "object"  [call-arg]
out_after.log:qiskit/circuit/library/standard_gates/x.py:936: error: Unexpected keyword argument "ctrl_state" for "__new__" of "object"  [call-arg]
out_after.log:qiskit/circuit/library/standard_gates/x.py:938: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass  [misc]
out_after.log:qiskit/circuit/library/standard_gates/x.py:1039: error: Unexpected keyword argument "label" for "__new__" of "object"  [call-arg]
out_after.log:qiskit/circuit/library/standard_gates/x.py:1039: error: Unexpected keyword argument "ctrl_state" for "__new__" of "object"  [call-arg]
out_after.log:qiskit/circuit/library/standard_gates/x.py:1041: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass  [misc]

There are some common errors left: bunch of missing attributes for `QuantumCircuit`, e.g.,
qiskit/circuit/add_control.py:178: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]

confusion between Bit/Qubit/Clbit/QubitSpecifier, e.g.,
qiskit/circuit/quantumcircuit.py:931: error: List comprehension has incompatible type List[Union[Qubit, Clbit]]; expected List[Qubit]  [misc]

some dark magic happening in standard_gates:
https://github.com/Qiskit/qiskit-terra/blob/26d155495c058bb49aef26c5acd0fd7b917a9770/qiskit/circuit/library/standard_gates/x.py#L1037-L1042

 mypy output before
out_before.log:qiskit/circuit/classicalfunction/classical_function_visitor.py:152: error: "expr" has no attribute "id"  [attr-defined]
out_before.log:qiskit/circuit/classicalfunction/classical_function_visitor.py:153: error: "expr" has no attribute "id"  [attr-defined]
out_before.log:qiskit/circuit/parameterexpression.py:62: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "None")  [assignment]
out_before.log:qiskit/circuit/parameterexpression.py:282: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "None")  [assignment]
out_before.log:qiskit/circuit/parameterexpression.py:561: error: Cannot assign multiple types to name "ParameterValueType" without an explicit "Type[...]" annotation  [misc]
out_before.log:qiskit/circuit/quantumcircuit.py:236: error: Argument 1 to "int" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Union[str, bytes, bytearray, memoryview, array[Any], mmap, _CData, PickleBuffer, SupportsInt, SupportsIndex, SupportsTrunc]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:246: error: Argument 1 to "int" has incompatible type "Union[Register, int, Sequence[Bit]]"; expected "Union[str, bytes, bytearray, memoryview, array[Any], mmap, _CData, PickleBuffer, SupportsInt, SupportsIndex, SupportsTrunc]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:262: error: Need type annotation for "_data" (hint: "_data: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:271: error: Need type annotation for "_control_flow_scopes" (hint: "_control_flow_scopes: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:273: error: Need type annotation for "qregs" (hint: "qregs: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:274: error: Need type annotation for "cregs" (hint: "cregs: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:275: error: Need type annotation for "_qubits" (hint: "_qubits: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:276: error: Need type annotation for "_clbits" (hint: "_clbits: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:282: error: Need type annotation for "_qubit_indices" (hint: "_qubit_indices: Dict[<type>, <type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:283: error: Need type annotation for "_clbit_indices" (hint: "_clbit_indices: Dict[<type>, <type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:285: error: Need type annotation for "_ancillas" (hint: "_ancillas: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:286: error: Need type annotation for "_calibrations"  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:389: error: Name "data" already defined on line 358  [no-redef]
out_before.log:qiskit/circuit/quantumcircuit.py:389: error: "Callable[[QuantumCircuit], QuantumCircuitData]" has no attribute "setter"  [attr-defined]
out_before.log:qiskit/circuit/quantumcircuit.py:886: error: Argument 2 to "append" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Optional[Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:886: error: Argument 3 to "append" of "QuantumCircuit" has incompatible type "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"; expected "Optional[Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:890: error: Argument "qargs" to "append" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Optional[Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:890: error: Argument "cargs" to "append" of "QuantumCircuit" has incompatible type "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"; expected "Optional[Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:901: error: Need type annotation for "edge_map" (hint: "edge_map: Dict[<type>, <type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:905: error: Argument 1 to "qbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:916: error: Argument 1 to "cbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"; expected "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:922: error: Argument 1 to "cbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]]]"; expected "Union[Clbit, ClassicalRegister, int, slice, Sequence[Union[Clbit, int]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1228: error: Incompatible types in assignment (expression has type "Operation", variable has type "Instruction")  [assignment]
out_before.log:qiskit/circuit/quantumcircuit.py:1376: error: Need type annotation for "qregs"  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:1380: error: Need type annotation for "cregs"  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:1565: error: Argument 1 to "Decompose" has incompatible type "Union[Type[Gate], Sequence[Type[Gate]], Sequence[str], str, None]"; expected "Union[Type[Gate], List[Type[Gate]], List[str], str, None]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1651: error: Need type annotation for "existing_composite_circuits" (hint: "existing_composite_circuits: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:1662: error: Argument 1 to "append" of "list" has incompatible type "ClassicalRegister"; expected "QuantumRegister"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1663: error: Need type annotation for "register_escaped_names" (hint: "register_escaped_names: Dict[<type>, <type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:1667: error: Argument 2 to "_make_unique" has incompatible type "Dict[Any, Any]"; expected "AbstractSet[str]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1667: error: Argument 2 to "_make_unique" has incompatible type "Dict[str, Any]"; expected "AbstractSet[str]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1918: error: Function "builtins.callable" is not valid as a type  [valid-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1918: note: Perhaps you meant "typing.Callable" instead of "callable"?
out_before.log:qiskit/circuit/quantumcircuit.py:1936: error: Function "builtins.callable" is not valid as a type  [valid-type]
out_before.log:qiskit/circuit/quantumcircuit.py:1936: note: Perhaps you meant "typing.Callable" instead of "callable"?
out_before.log:qiskit/circuit/quantumcircuit.py:1958: error: Unsupported operand types for + ("List[Qubit]" and "List[Clbit]")  [operator]
out_before.log:qiskit/circuit/quantumcircuit.py:1983: error: callable? not callable  [misc]
out_before.log:qiskit/circuit/quantumcircuit.py:2080: error: Unsupported operand types for + ("List[Qubit]" and "List[Clbit]")  [operator]
out_before.log:qiskit/circuit/quantumcircuit.py:2693: error: Argument 1 to "len" has incompatible type "Union[ParameterExpression, float]"; expected "Sized"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:2697: error: Argument 1 to "len" has incompatible type "Union[ParameterExpression, float]"; expected "Sized"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: error: No overload variant of "zip" matches argument types "<subclass of "Parameter" and "ParameterVector">", "Union[ParameterExpression, float]"  [call-overload]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note: Possible overload variants:
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note:     def [_T_co, _T1] __new__(cls, Iterable[_T1], /, *, strict: bool = ...) -> zip[Tuple[_T1]]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note:     def [_T_co, _T1, _T2] __new__(cls, Iterable[_T1], Iterable[_T2], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2]]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note:     def [_T_co, _T1, _T2, _T3] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2, _T3]]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note:     def [_T_co, _T1, _T2, _T3, _T4] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2, _T3, _T4]]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note:     def [_T_co, _T1, _T2, _T3, _T4, _T5] __new__(cls, Iterable[_T1], Iterable[_T2], Iterable[_T3], Iterable[_T4], Iterable[_T5], /, *, strict: bool = ...) -> zip[Tuple[_T1, _T2, _T3, _T4, _T5]]
out_before.log:qiskit/circuit/quantumcircuit.py:2699: note:     def [_T_co] __new__(cls, Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], /, *iterables: Iterable[Any], strict: bool = ...) -> zip[Tuple[Any, ...]]
out_before.log:qiskit/circuit/quantumcircuit.py:2875: error: Incompatible types in assignment (expression has type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]", variable has type "Qubit")  [assignment]
out_before.log:qiskit/circuit/quantumcircuit.py:2876: error: Need type annotation for "inst"  [var-annotated]
out_before.log:qiskit/circuit/quantumcircuit.py:3040: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]
out_before.log:qiskit/circuit/quantumcircuit.py:3889: error: Argument 1 to "qbit_argument_conversion" of "QuantumCircuit" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:3908: error: Argument 1 to "len" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Sized"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:3909: error: Argument 1 to "len" has incompatible type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]"; expected "Sized"  [arg-type]
out_before.log:qiskit/circuit/quantumcircuit.py:3912: error: Value of type "Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]]" is not indexable  [index]
out_before.log:qiskit/circuit/quantumcircuit.py:3916: error: Unsupported left operand type for + ("Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]")  [operator]
out_before.log:qiskit/circuit/quantumcircuit.py:4175: error: Need type annotation for "atomic_parameters" (hint: "atomic_parameters: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/add_control.py:127: error: Argument 1 to "mct" of "QuantumCircuit" has incompatible type "QuantumRegister"; expected "Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]"  [arg-type]
out_before.log:qiskit/circuit/add_control.py:129: error: "QuantumCircuit" has no attribute "mcrx"; maybe "mcx" or "crx"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:136: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:145: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:175: error: "QuantumCircuit" has no attribute "mcrx"; maybe "mcx" or "crx"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:179: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:187: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:191: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:194: error: "QuantumCircuit" has no attribute "mcry"; maybe "cry"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:201: error: "QuantumCircuit" has no attribute "mcrz"; maybe "crz"?  [attr-defined]
out_before.log:qiskit/circuit/add_control.py:206: error: Argument 1 to "mcx" of "QuantumCircuit" has incompatible type "QuantumRegister"; expected "Sequence[Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]]"  [arg-type]
out_before.log:qiskit/circuit/add_control.py:221: error: Unsupported operand types for | ("int" and "str")  [operator]
out_before.log:qiskit/circuit/add_control.py:221: note: Right operand is of type "Union[int, str, None]"
out_before.log:qiskit/circuit/add_control.py:226: error: Incompatible types in assignment (expression has type "Union[int, str, None]", variable has type "int")  [assignment]
out_before.log:qiskit/circuit/commutation_checker.py:109: error: "Operation" has no attribute "is_parameterized"  [attr-defined]
out_before.log:qiskit/circuit/commutation_checker.py:126: error: "Operation" has no attribute "params"  [attr-defined]
out_before.log:qiskit/circuit/commutation_checker.py:127: error: "Operation" has no attribute "params"  [attr-defined]
out_before.log:qiskit/circuit/controlledgate.py:102: error: Incompatible types in assignment (expression has type "Union[int, str, None]", variable has type "int")  [assignment]
out_before.log:qiskit/circuit/controlledgate.py:125: error: Incompatible return value type (got "QuantumCircuit", expected "List[Any]")  [return-value]
out_before.log:qiskit/circuit/gate.py: error: The return type of a generator function should be "Generator" or one of its supertypes  [misc]
out_before.log:qiskit/circuit/gate.py:211: error: Incompatible return value type (got "List[Tuple[List[<nothing>], List[<nothing>]]]", expected "Tuple[List[Any], List[Any]]")  [return-value]
out_before.log:qiskit/circuit/gate.py:215: error: Incompatible return value type (got "List[Any]", expected "Tuple[List[Any], List[Any]]")  [return-value]
out_before.log:qiskit/circuit/gate.py:217: error: Incompatible return value type (got "List[Any]", expected "Tuple[List[Any], List[Any]]")  [return-value]
out_before.log:qiskit/circuit/gate.py:219: error: Incompatible return value type (got "List[Any]", expected "Tuple[List[Any], List[Any]]")  [return-value]
out_before.log:qiskit/circuit/library/arithmetic/piecewise_chebyshev.py:260: error: Item "float" of "Union[float, Callable[[int], float]]" has no attribute "__code__"  [union-attr]
out_before.log:qiskit/circuit/library/arithmetic/piecewise_chebyshev.py:287: error: Incompatible types in assignment (expression has type "Optional[List[List[float]]]", variable has type "None")  [assignment]
out_before.log:qiskit/circuit/library/blueprintcircuit.py:35: error: Need type annotation for "_qregs" (hint: "_qregs: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/blueprintcircuit.py:36: error: Need type annotation for "_cregs" (hint: "_cregs: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/boolean_logic/quantum_and.py:89: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
out_before.log:qiskit/circuit/library/boolean_logic/quantum_or.py:88: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
out_before.log:qiskit/circuit/library/data_preparation/pauli_feature_map.py:140: error: Argument "entanglement" to "__init__" of "NLocal" has incompatible type "Union[str, List[List[int]], Callable[[int], List[int]]]"; expected "Union[List[int], List[List[int]], None]"  [arg-type]
out_before.log:qiskit/circuit/library/data_preparation/pauli_feature_map.py:151: error: Return type "Optional[List[Parameter]]" of "_parameter_generator" incompatible with return type "Optional[Parameter]" in supertype "NLocal"  [override]
out_before.log:qiskit/circuit/library/data_preparation/state_preparation.py:103: error: Argument 3 to "__init__" of "Gate" has incompatible type "Union[List[int], str, List[Any], Statevector]"; expected "List[Any]"  [arg-type]
out_before.log:qiskit/circuit/library/data_preparation/state_preparation.py:517: error: "Type[QuantumCircuit]" has no attribute "prepare_state"  [attr-defined]
out_before.log:qiskit/circuit/library/evolved_operator_ansatz.py:61: error: Argument "parameter_prefix" to "__init__" of "NLocal" has incompatible type "Union[str, List[str]]"; expected "str"  [arg-type]
out_before.log:qiskit/circuit/library/evolved_operator_ansatz.py:87: error: Read-only property cannot override read-write property  [misc]
out_before.log:qiskit/circuit/library/fourier_checking.py:82: error: Argument 1 to "QuantumCircuit" has incompatible type "float"; expected "Union[Register, int, Sequence[Bit]]"  [arg-type]
out_before.log:qiskit/circuit/library/fourier_checking.py:86: error: "QuantumCircuit" has no attribute "diagonal"  [attr-defined]
out_before.log:qiskit/circuit/library/fourier_checking.py:90: error: "QuantumCircuit" has no attribute "diagonal"  [attr-defined]
out_before.log:qiskit/circuit/library/generalized_gates/diagonal.py:110: error: "QuantumCircuit" has no attribute "ucrz"; maybe "crz"?  [attr-defined]
out_before.log:qiskit/circuit/library/generalized_gates/mcmt.py:210: error: Missing return statement  [return]
out_before.log:qiskit/circuit/library/generalized_gates/mcmt.py:233: error: Return value expected  [return-value]
out_before.log:qiskit/circuit/library/grover_operator.py:298: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
out_before.log:qiskit/circuit/library/n_local/efficient_su2.py:133: error: Argument "rotation_blocks" to "__init__" of "TwoLocal" has incompatible type "Union[str, type, Instruction, QuantumCircuit, List[Union[str, type, Instruction, QuantumCircuit]]]"; expected "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"  [arg-type]
out_before.log:qiskit/circuit/library/n_local/efficient_su2.py:145: error: Read-only property cannot override read-write property  [misc]
out_before.log:qiskit/circuit/library/n_local/excitation_preserving.py:160: error: Read-only property cannot override read-write property  [misc]
out_before.log:qiskit/circuit/library/n_local/n_local.py:120: error: Need type annotation for "_entanglement_blocks" (hint: "_entanglement_blocks: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/n_local.py:121: error: Need type annotation for "_rotation_blocks" (hint: "_rotation_blocks: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/n_local.py:122: error: Need type annotation for "_prepended_blocks" (hint: "_prepended_blocks: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/n_local.py:123: error: Need type annotation for "_prepended_entanglement" (hint: "_prepended_entanglement: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/n_local.py:124: error: Need type annotation for "_appended_blocks" (hint: "_appended_blocks: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/n_local.py:125: error: Need type annotation for "_appended_entanglement" (hint: "_appended_entanglement: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/n_local.py:227: error: Incompatible types in assignment (expression has type "List[Union[QuantumCircuit, Instruction]]", variable has type "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]")  [assignment]
out_before.log:qiskit/circuit/library/n_local/n_local.py:230: error: Item "QuantumCircuit" of "Union[QuantumCircuit, Any, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
out_before.log:qiskit/circuit/library/n_local/n_local.py:230: error: Item "Instruction" of "Union[QuantumCircuit, Any, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
out_before.log:qiskit/circuit/library/n_local/n_local.py:252: error: Incompatible types in assignment (expression has type "List[Union[QuantumCircuit, Instruction]]", variable has type "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction]]")  [assignment]
out_before.log:qiskit/circuit/library/n_local/n_local.py:255: error: Item "QuantumCircuit" of "Union[QuantumCircuit, Any, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
out_before.log:qiskit/circuit/library/n_local/n_local.py:255: error: Item "Instruction" of "Union[QuantumCircuit, Any, List[QuantumCircuit], Instruction, List[Instruction]]" has no attribute "__iter__" (not iterable)  [union-attr]
out_before.log:qiskit/circuit/library/n_local/n_local.py:398: error: Incompatible types in assignment (expression has type "Union[ParameterVector, List[Parameter]]", variable has type "ParameterVector")  [assignment]
out_before.log:qiskit/circuit/library/n_local/n_local.py:725: error: Incompatible types in assignment (expression has type "List[Union[List[int], List[List[int]]]]", variable has type "Union[List[int], str, List[List[int]], None]")  [assignment]
out_before.log:qiskit/circuit/library/n_local/n_local.py:735: error: Argument 1 to "max" has incompatible type "Union[int, List[int]]"; expected "Iterable[int]"  [arg-type]
out_before.log:qiskit/circuit/library/n_local/n_local.py:748: error: Incompatible types in assignment (expression has type "Union[List[int], List[List[int]]]", variable has type "List[Sequence[int]]")  [assignment]
out_before.log:qiskit/circuit/library/n_local/n_local.py:763: error: Argument 1 of "assign_parameters" is incompatible with supertype "QuantumCircuit"; supertype defines the argument type as "Union[Mapping[Parameter, Union[ParameterExpression, float]], Sequence[Union[ParameterExpression, float]]]"  [override]
out_before.log:qiskit/circuit/library/n_local/n_local.py:763: note: This violates the Liskov substitution principle
out_before.log:qiskit/circuit/library/n_local/n_local.py:763: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
out_before.log:qiskit/circuit/library/n_local/n_local.py:788: error: Argument 1 to "assign_parameters" of "QuantumCircuit" has incompatible type "Union[Dict[Any, Any], List[float], List[Parameter], ParameterVector]"; expected "Union[Mapping[Parameter, Union[ParameterExpression, float]], Sequence[Union[ParameterExpression, float]]]"  [arg-type]
out_before.log:qiskit/circuit/library/n_local/n_local.py:934: error: Incompatible types in assignment (expression has type "Instruction", variable has type "Gate")  [assignment]
out_before.log:qiskit/circuit/library/n_local/n_local.py:954: error: List comprehension has incompatible type List[ParameterExpression]; expected List[Parameter]  [misc]
out_before.log:qiskit/circuit/library/n_local/n_local.py:992: error: Incompatible return value type (got "List[Tuple[int, ...]]", expected "List[Sequence[int]]")  [return-value]
out_before.log:qiskit/circuit/library/n_local/n_local.py:992: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
out_before.log:qiskit/circuit/library/n_local/n_local.py:992: note: Consider using "Sequence" instead, which is covariant
out_before.log:qiskit/circuit/library/n_local/n_local.py:992: note: Perhaps you need a type annotation for "reverse"? Suggestion: "List[Sequence[int]]"
out_before.log:qiskit/circuit/library/n_local/n_local.py:997: error: Incompatible return value type (got "List[Tuple[int, ...]]", expected "List[Sequence[int]]")  [return-value]
out_before.log:qiskit/circuit/library/n_local/n_local.py:997: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
out_before.log:qiskit/circuit/library/n_local/n_local.py:997: note: Consider using "Sequence" instead, which is covariant
out_before.log:qiskit/circuit/library/n_local/n_local.py:997: note: Perhaps you need a type annotation for "linear"? Suggestion: "List[Sequence[int]]"
out_before.log:qiskit/circuit/library/n_local/n_local.py:1000: error: Incompatible return value type (got "List[Tuple[int, ...]]", expected "List[Sequence[int]]")  [return-value]
out_before.log:qiskit/circuit/library/n_local/n_local.py:1000: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
out_before.log:qiskit/circuit/library/n_local/n_local.py:1000: note: Consider using "Sequence" instead, which is covariant
out_before.log:qiskit/circuit/library/n_local/n_local.py:1008: error: Incompatible return value type (got "List[Tuple[int, ...]]", expected "List[Sequence[int]]")  [return-value]
out_before.log:qiskit/circuit/library/n_local/n_local.py:1008: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
out_before.log:qiskit/circuit/library/n_local/n_local.py:1008: note: Consider using "Sequence" instead, which is covariant
out_before.log:qiskit/circuit/library/n_local/n_local.py:1008: note: Perhaps you need a type annotation for "circular"? Suggestion: "List[Sequence[int]]"
out_before.log:qiskit/circuit/library/n_local/n_local.py:1017: error: Incompatible return value type (got "List[Tuple[int, ...]]", expected "List[Sequence[int]]")  [return-value]
out_before.log:qiskit/circuit/library/n_local/n_local.py:1017: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
out_before.log:qiskit/circuit/library/n_local/n_local.py:1017: note: Consider using "Sequence" instead, which is covariant
out_before.log:qiskit/circuit/library/n_local/n_local.py:1017: note: Perhaps you need a type annotation for "sca"? Suggestion: "List[Sequence[int]]"
out_before.log:qiskit/circuit/library/n_local/pauli_two_design.py:85: error: Need type annotation for "_gates" (hint: "_gates: Dict[<type>, <type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:62: error: Incompatible types in assignment (expression has type "Optional[QuantumCircuit]", variable has type "None")  [assignment]
out_before.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:134: error: Incompatible return value type (got "List[Tuple[int, Any]]", expected "Optional[List[Tuple[Optional[float], Optional[float]]]]")  [return-value]
out_before.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:145: error: Incompatible types in assignment (expression has type "Optional[List[Tuple[Optional[float], Optional[float]]]]", variable has type "None")  [assignment]
out_before.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:147: error: Read-only property cannot override read-write property  [misc]
out_before.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:206: error: Incompatible types in assignment (expression has type "Optional[QuantumCircuit]", variable has type "None")  [assignment]
out_before.log:qiskit/circuit/library/n_local/qaoa_ansatz.py:250: error: Read-only property cannot override read-write property  [misc]
out_before.log:qiskit/circuit/library/n_local/real_amplitudes.py:172: error: Read-only property cannot override read-write property  [misc]
out_before.log:qiskit/circuit/library/n_local/two_local.py:214: error: Argument "rotation_blocks" to "__init__" of "NLocal" has incompatible type "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"; expected "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction], None]"  [arg-type]
out_before.log:qiskit/circuit/library/n_local/two_local.py:215: error: Argument "entanglement_blocks" to "__init__" of "NLocal" has incompatible type "Union[str, List[str], type, List[type], QuantumCircuit, List[QuantumCircuit], None]"; expected "Union[QuantumCircuit, List[QuantumCircuit], Instruction, List[Instruction], None]"  [arg-type]
out_before.log:qiskit/circuit/library/n_local/two_local.py:216: error: Argument "entanglement" to "__init__" of "NLocal" has incompatible type "Union[str, List[List[int]], Callable[[int], List[int]]]"; expected "Union[List[int], List[List[int]], None]"  [arg-type]
out_before.log:qiskit/circuit/library/standard_gates/p.py:111: error: Incompatible types in assignment (expression has type "MCPhaseGate", variable has type "CPhaseGate")  [assignment]
out_before.log:qiskit/circuit/library/standard_gates/u1.py:132: error: Incompatible types in assignment (expression has type "MCU1Gate", variable has type "CU1Gate")  [assignment]
out_before.log:qiskit/circuit/library/standard_gates/u3.py:117: error: "CU3Gate" gets multiple values for keyword argument "label"  [misc]
out_before.log:qiskit/circuit/library/standard_gates/u3.py:117: error: "CU3Gate" gets multiple values for keyword argument "ctrl_state"  [misc]
out_before.log:qiskit/circuit/library/standard_gates/x.py:936: error: Unexpected keyword argument "label" for "__new__" of "object"  [call-arg]
out_before.log:qiskit/circuit/library/standard_gates/x.py:936: error: Unexpected keyword argument "ctrl_state" for "__new__" of "object"  [call-arg]
out_before.log:qiskit/circuit/library/standard_gates/x.py:938: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass  [misc]
out_before.log:qiskit/circuit/library/standard_gates/x.py:1039: error: Unexpected keyword argument "label" for "__new__" of "object"  [call-arg]
out_before.log:qiskit/circuit/library/standard_gates/x.py:1039: error: Unexpected keyword argument "ctrl_state" for "__new__" of "object"  [call-arg]
out_before.log:qiskit/circuit/library/standard_gates/x.py:1041: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass  [misc]
out_before.log:qiskit/circuit/instructionset.py:127: error: Need type annotation for "_instructions" (hint: "_instructions: List[<type>] = ...")  [var-annotated]
out_before.log:qiskit/circuit/library/arithmetic/adders/vbe_ripple_carry_adder.py:86: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "QuantumRegister")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/adders/vbe_ripple_carry_adder.py:97: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "QuantumRegister")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/adders/vbe_ripple_carry_adder.py:105: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "AncillaRegister")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/linear_amplitude_function.py:136: error: Value of type "Union[float, List[float]]" is not indexable  [index]
out_before.log:qiskit/circuit/library/arithmetic/linear_amplitude_function.py:137: error: Value of type "Union[float, List[float]]" is not indexable  [index]
out_before.log:qiskit/circuit/library/arithmetic/piecewise_linear_pauli_rotations.py:105: error: Incompatible return value type (got "List[float]", expected "List[int]")  [return-value]
out_before.log:qiskit/circuit/library/arithmetic/polynomial_pauli_rotations.py:284: error: Incompatible types in assignment (expression has type "Tuple[int]", variable has type "Tuple[]")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/polynomial_pauli_rotations.py:287: error: Incompatible types in assignment (expression has type "Tuple[int]", variable has type "Tuple[]")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/polynomial_pauli_rotations.py:292: error: Incompatible return value type (got "Dict[Tuple[int, ...], int]", expected "Dict[Sequence[int], float]")  [return-value]
out_before.log:qiskit/circuit/library/arithmetic/polynomial_pauli_rotations.py:292: note: Perhaps you need a type annotation for "rotation_coeffs"? Suggestion: "Dict[Sequence[int], float]"
out_before.log:qiskit/circuit/library/arithmetic/quadratic_form.py:186: error: Incompatible types in assignment (expression has type "Union[Any, float, int]", variable has type "int")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/quadratic_form.py:187: error: Incompatible types in assignment (expression has type "Union[Any, float, int]", variable has type "int")  [assignment]
out_before.log:qiskit/circuit/library/arithmetic/quadratic_form.py:188: error: Incompatible types in assignment (expression has type "float", variable has type "int")  [assignment]
out_before.log:qiskit/circuit/library/standard_gates/equivalence_library.py:1471: error: Need type annotation for "rules"  [var-annotated]
out_before.log:qiskit/circuit/library/standard_gates/equivalence_library.py:1506: error: Need type annotation for "rules"  [var-annotated]
out_before.log:qiskit/circuit/library/standard_gates/multi_control_rotation_gates.py:242: error: "Type[QuantumCircuit]" has no attribute "mcrx"  [attr-defined]
out_before.log:qiskit/circuit/library/standard_gates/multi_control_rotation_gates.py:243: error: "Type[QuantumCircuit]" has no attribute "mcry"  [attr-defined]
out_before.log:qiskit/circuit/library/standard_gates/multi_control_rotation_gates.py:244: error: "Type[QuantumCircuit]" has no attribute "mcrz"  [attr-defined]
out_before.log:qiskit/circuit/library/templates/rzx/rzx_cy.py:30: error: Incompatible types in assignment (expression has type "Parameter", variable has type "float")  [assignment]
out_before.log:qiskit/circuit/library/templates/rzx/rzx_xz.py:35: error: Incompatible types in assignment (expression has type "Parameter", variable has type "float")  [assignment]
out_before.log:qiskit/circuit/library/templates/rzx/rzx_yz.py:30: error: Incompatible types in assignment (expression has type "Parameter", variable has type "float")  [assignment]
out_before.log:qiskit/circuit/library/templates/rzx/rzx_zz1.py:40: error: Incompatible types in assignment (expression has type "Parameter", variable has type "float")  [assignment]
out_before.log:qiskit/circuit/library/templates/rzx/rzx_zz2.py:35: error: Incompatible types in assignment (expression has type "Parameter", variable has type "float")  [assignment]
out_before.log:qiskit/circuit/library/templates/rzx/rzx_zz3.py:35: error: Incompatible types in assignment (expression has type "Parameter", variable has type "float")  [assignment]

the test failed because main tests are failing

So anything else required from me at this point?

Adding the bugfix tag as this also found and fixed a bug in the controlled gate creation


update restrictions

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/8592
source https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=music%2Con%2Chold

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Let's make sure @JensTrier approves of this change before we merge.

@CarolynRowe thanks for tagging me. Please hold until I get this confirmed

@CarolynRowe got confirmation that GCC is fine. Please merge